Archived topic
Problem in Page Headers after the last update
20 replies · Started by themedleb on November 15, 2017
Ah, I see the issue. It's outlined here: https://wordpress.stackexchange.com/a/195433
So you would need to add this function to allow text-shadow:
add_filter( 'safe_style_css', function( $styles ) {
$styles[] = 'text-shadow';
return $styles;
} );
Alternatively, I would suggest giving it a class, and then writing CSS for it. That way you have way more control over the styles, especially on mobile etc..
Here it is. p1 and p2 are defined in custom css.
<div style="text-shadow: 0 0 10px #2d3638">
<p1>Text</p1><br>
<p2>Text</p2>
</div>
Thanks so much, Tom! I'll try my luck with css.
I didn't even know WordPress filtered out the available style attributes - I'll include some essential ones they're missing in the next update :)
where to press like? ;-)
haha :) Thanks for bringing this to my attention!