Tagged: content slider
Hi,
I use a contentslider with also images in it. When I change the picture in an already exiting layer, somehow I suddenly get a colored line on top and at the bottom of the picture. The same happens when I add a new row. It looks like some automatic thing is adjusting the colour to the coulers in the pictue because if I change the picture, the colour is also changing. So the colour is not standard.
The new added pictures are the only ones with a colored line above and below. How is this possible and where can I fix this so the colored line will disapear? See the third picture and the last picture in the slider.
Thank you in advance!
Hey Anouk,
Thanks for the login details. This CSS seems to be adding that:
img[data-dominant-color]:not(.has-transparency) {
background-color: var(--dominant-color);
}
It’s not coming from the theme though. Did you try to temporarily deactivate all plugins?
Best regards,
Rikard
Hi Rikard,
Thanks for your update. I did not deactivate all plugins. So I really don’t know where it comes from. I am not experienced with CSS so can you please tell me where I can find that code and where I can delete it?
If I delete it, will it cause other things rather than deleting the coloured line?
If you want, you can delete it for me, since you know where it stands?
Thanks in advance.
Best wishes, Anouk
Hi,
You can try this CSS to override it:
img[data-dominant-color]:not(.has-transparency) {
background-color: transparent !important;
}
Best regards,
Rikard
Awesom! It’s solved!
Thank you!