TEXT SHADOW

[ad_1]

Someone tells me why the text shadow is not applied, I am with a shortcode in wordpress using divi. The text shadow cannot be seen

`function generar_cash_collect() {`

`ob_start();`

`?>`

`<style>`
`/\* Estilos generales para el contenedor \*/`
`.cash-container {`
`text-align: center;`
`margin-bottom: -15px;`
`align-self: center;`
`}`
`&#x200B;`
`/\* Estilos para el texto “CASH COLLECT” \*/`
`.cash-text {`
`color: #19ED60; /\* Color verde \*/`
`font-family: var(–e-global-typography-primary-font-family), Sans-serif;`
`font-weight: bold;`
`text-transform: uppercase;`
`text-shadow: 0px-2px 15px #19ED60; !important;`
`}`
`&#x200B;`
`/\* Estilos para el valor “$” \*/`
`.cash-value {`
`color: #EDDD19; /\* Color amarillo \*/`
`font-family: var(–e-global-typography-primary-font-family), Sans-serif;`
`font-weight: bold;`
`text-shadow: 0px -2px 15px #EDDD19; !important;`
`}`

`</style>`

&#x200B;

`<div class=”cash-container”>`

`<h2 class=”cash-text”>CASH COLLECT</h2>`

<h2 class=”cash-value”>$<?php echo obtener\_valor\_cash\_collect(); ?></h2>

`</div>`

`<?php`
`return ob\_get\_clean();`
`}`
`add\_shortcode(‘cash\_collect’, ‘generar\_cash\_collect’);`

[ad_2]
1 Comment
  1. Hi, check your CSS syntax, the !important declaration must be before the semicolon after the shadow style.

    Like this:

    .style{
    shadow parameters !important;
    }

    I hope that help to fix your style.

    JC

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer