Tagged: Images, LayerSlider, rounded corners
I have searched the forums and nothing matched this topic. There has to be a way to make all the images have rounded corners in the LayerSlider right? Maybe it’s code I have to manually input? Please let me know!
Hey metrocitygirl,
Add the following to quick css:
img.ls-bg{
border-radius:50px!important;
}
Best regards,
Jordan Shannon
thanks! So it worked but when the slide is transitioning over to the next slide it makes the corners square for a second and then once the transition happens it goes back to rounded again. It’s weird.
Hi,
Seemingly because the slider javascript will be called, and then the css that is applied to it will be called. If there are no other images on that page outside of the slider, then you can add this instead:
.page-id-1108 img{
border-radius:50px!important;
}
This should work.
Best regards,
Jordan Shannon
thanks!