Shopify themes, liquid, logos, and UX
Theme: Brooklyn
Website link: https://pauaco-shop.co.nz/
Pages wanting background on: About PauaCo & Contact Us
I've been trying to add a background image to two custom pages I have made (About PauaCo & Contact Us). I've tried a few different codes from other question threads and I can't seem to get them to work.
If someone could please give me a code/s and instructions on where to add them.
Am I able to have a different background image on both pages?
Solved! Go to the solution
This is an accepted solution.
add this code and change image
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
#pauaco-story {
background: url(https://cdn.shopify.com/s/files/1/0600/7567/1735/files/AB_6_1944x.jpg?v=1631676917);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
#contact-us {
background: url(https://cdn.shopify.com/s/files/1/0600/7567/1735/files/AB_6_1944x.jpg?v=1631676917);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
This is an accepted solution.
add this code and change image
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
#pauaco-story {
background: url(https://cdn.shopify.com/s/files/1/0600/7567/1735/files/AB_6_1944x.jpg?v=1631676917);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
#contact-us {
background: url(https://cdn.shopify.com/s/files/1/0600/7567/1735/files/AB_6_1944x.jpg?v=1631676917);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
Hi @KetanKumar ,
Thank you for that. It works 🙂
Do you know how to make the header transparent on those pages so the image is under it as well?
Thanks
Hi! Not sure if you got this answered already, but when your customizing your theme, you go to the color settings, and whatever color you want to be changed to be transparent, you simply remove the HEX code so it changes to say "None" or "Transparent."
Hope this helps!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024