Dawn Theme Background Collection Image

YIW
Visitor
2 0 0

Any one know how to have this image change on each collection page? I used the below code in the base.css.

 

.section-template--18428917973292__product-grid-padding {
background: url(https://cdn.shopify.com/s/files/1/0739/9771/3708/files/4.png?v=1679512904)!important;
background-repeat: no-repeat !important;
background-color: transparent !important;
background-position: center!important;
background-size: cover !important;
}Screenshot 2023-03-27 143055.jpg

Replies 3 (3)
JumpingFox
Excursionist
20 0 4

A collection banner you do this in the ' product' - collection location on the dashboard

YIW
Visitor
2 0 0

I want the image behind the product: Like below.Screenshot 2023-03-27 144646.jpg

Bhakti_Makadia
Shopify Partner
5 0 0

To show the background image in the product list section, You need to first add a common class to the section. 

For example "product-listing"  in  "main-collection-product-grid" section.
After that, you can add CSS which applies to all collections like below 

.product-listing  {
background: url(https://cdn.shopify.com/s/files/1/0739/9771/3708/files/4.png?v=1679512904)!important;
background-repeat: no-repeat !important;
background-color: transparent !important;
background-position: center!important;
background-size: cover !important;
}

If helpful then please Like and Accept Solution. Want modification or custom changes to the store? Hire me. Feel free to contact me at appsquads@gmail.com | Shopify Design Changes | Custom Modifications to Shopify Theme | Migration | Upgrade