Hey! Is there a way to add a box shadow to all the images on a page using CSS? I have the images inside a text element and don’t wanna separate then into an image element. Can I just target them all and add a shadow?
Hi Morr,
Thanks for writing to us.
We really dont offer any custom codes and support to any issues due to the custom codes.
Still we would like to guide you to achieve the output. Please follow the steps below:
-
Wrap the each images with HTML element like
div,span. -
Add a class to the wrapper element
-
Add the box shadow CSS code to the specified class, in you Theme Option > CSS.
This may help you: https://codepen.io/trisghosh/pen/rNxPwqZ
Please note that we do not provide support for custom codes that means we can’t fix it in case it conflicts with something in your site nor will we enhance it.
Thanks
Can’t this just be targeted with CSS? Like you can target h1 or buttons?
Hi Morr,
You can directly target the img tag.
Please check https://codepen.io/trisghosh/pen/rNxPwqZ this may help you.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.