Shopify themes, liquid, logos, and UX
My product pages are stuck on background #FFFFF. I want to alter to #faf7f5. to match rest of site
I have tried various solutions from the Shopify Community
Solutions I've tried
1) Adding to the styles.css (in assets)
body {
background-color: #faf7f5;
}
2) Code in the themes.liquid (link)
<style> main#MainContent { background-color: grey; } </style>
All products on site use the same products template. Have ensured the product editor hasn't set anything ()
---
A product page https://wilfredssweets.shop/collections/liquorice/products/family-favourites-liquorice-gift-box
Any help so so appreciated!!!!!!
Thanks,
Tim
NB: just noticed this at the top of the theme.liquid
Solved! Go to the solution
This is an accepted solution.
Hello @tim_wilfreds
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
div.product-product-template {
background: #faf7f5 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hello @tim_wilfreds
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
div.product-product-template {
background: #faf7f5 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi Niraj - thankyou!
So the related product section - is still showing as #FFFFFF background
I asked the developer of the Vitals App - who built that related products section. They confirmed that the background for that section is seemingly set as #ffffff. (and their own app doesn't have color background)
So, how do I edit the background color for that section?
Thanks,
Tim
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
body {
background-color: #faf7f5 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024