Shopify themes, liquid, logos, and UX
Hoping someone can help as I can't seem to find this answer anywhere.
I am trying to change the "Image Overlay Opacity" from black to white on my Slideshow, as the black overlay makes my images appear too dark.
Does anyone know if there is code I can add to the Custom CSS field for that section to achieve this?
Solved! Go to the solution
This is an accepted solution.
Hi Daisy,
Thank you for the code. I had to change it a bit to get the results I wanted but it worked. It works with the slider in theme as well!
.banner:after,
.banner__media:after {
background: white !important;
}
Hi @pktmrkt
Please share your store URL so I can take a closer look
Best,
Daisy
Hi @pktmrkt
.banner:after, .banner__media:after {
background: transparent !important;
}
I hope this helps
Best,
Daisy
This is an accepted solution.
Hi Daisy,
Thank you for the code. I had to change it a bit to get the results I wanted but it worked. It works with the slider in theme as well!
.banner:after,
.banner__media:after {
background: white !important;
}
Hi @pktmrkt
It's great to hear that! I originally set the color to white, and you changed it to transparent, correct? I'm glad to know it worked and resolved your issue.
If our answer was helpful, please mark it as the solution and give it a like—I would really appreciate it!
Best,
Daisy
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025