I’m having trouble with my webshops text readability. I’d like to add text shadows so that the text is always readable no matter the background. Impulse has a Theme setting called “Image Treatment” where you can adjust a certain type of text. This is the text I want to give shadows. You’ll recognize it because it’s the only grey text on the website and as you can see covers quite the significant portion of it. I’m not quite sure where in the code I need to add something to change this.
Would it be possible to only add shadows to text with the color code #5E5E5E? So lets say : .animation-contents {Only if text color:#5E5E5E
text-shadow: 2px 2px #ff0000 !important;
}
I’m not sure you understand my question. I got your code to work with no problem. However it only applies to certain pieces of text, some I want it to, some I don’t want it to and some I want it to but it doesn’t.
All the text on my website with the color code #5E5E5E needs to get a shadow. Is there a way to make your earlier code only apply to text with that color code?
Thank you for your answer, this however still doesn’t solve my problem. The problem is not getting text shadows to work but getting them to work with right kinds of text on my website.
All the text on my website with this hex code: #5E5E5E needs to get a shadow. Your code does not target text with a specifick hex code. Is there any way you know of which makes this possible?