remove rounded corners for row background images
-
Hey Armin and team,
Hoping this is an easy fix.
I have the following CSS to give all my images rounded corners, which works great:img { border-radius: 12px; }
However I don't want the rounded corners on full-width or "row background" images, or covers - would prefer a normal full-width image effect with no radius.
Can you help me out with the right class to target and remove / override the border radius from these instances?
I've tried a bunch of things but can't get it to work.Thank you so much,
-
hey, sure is, if you right click your full width row image and give it a class like 'noround' then in custom css do this:
.noround img {
border-radius: 0;
} -
@alasdair17 Thanks, it works!
Looks like I had the "img" and class the wrong way around...
Cheers :)
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it