Add overly for collection image dawn theme

Hi,

I’d like to add an overlay, a semi-transparent layer to my collection image (attached below). Can anyone help me with that? Thanks a lot.

https://horaciobikes.com.au/

pw: 0713Bang

Hi @lulu57

This is Victor from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Victor | PageFly

Thanks so much Victor!

Hi Victor,

After I add the overlay, the texts on the image become not very clear, like the below:

is there any way to make the text on the image very obvious? like the image below:

thank you!

hi @lulu57 please replace the whole old code with this one, i will add the extra code to fix the heading here:


Thanks a lot! You’re a lifesaver :grinning_face:

Hi Victor,

The overlay worked great thank you. However, for Dawn 9.0 is there a way to centre the collection list titles over the image and position the text in front of the overlay so its clear? By defult my text is left alligned under the image.

Thanks for your help.

Hey @lulu57 , watch this YouTube guide at https://www.youtube.com/watch?v=LNCzj6cxw1s to add overlay in collection images in the Shopify Dawn Theme.