i use a text shadow for the text in a fullscreen slide:
/*schatten bei normaltext slider*/ #top .avia-fullscreen-slider p { text-shadow: 1px 1px 7px #000 !important; } /*Schatten Überschrift Fullscreen slider*/ #top .avia-fullscreen-slider h2 { text-shadow: 1px 1px 7px #000 !important; }
How can i apply this text to a text field inside a color section.
i want apply the shadow to a headline (a) and a normal text (2). how can i do this? can i use the upside code as an customcssclass? how? https://imgur.com/a/ugDVj
And is there a simple way to add a background to the text like here (3) https://imgur.com/a/W4mCk
Hi Alex,
Please go to Enfold theme options > Layout Builder and check “Show element options for developers” and then edit your element and give it a custom CSS class (“my-custom-class” in example below) and then add following code to Quick CSS field in Enfold theme options > General Styling tab
.my-custom-class .av-special-heading-tag { text-shadow: 1px 1px 7px #000 !important; background:rgba(0,0,0,0.5); }
.my-custom-class .av-subheading { text-shadow: 1px 1px 7px #000 !important; }
Best regards,
Yigit
Amazing. It works great for the subheading but not for the header. i have added both class.