Shopify themes, liquid, logos, and UX
I've scoured the web and tried every possible solution I could find but no luck. I installed Dawn yesterday 2/28/2023, though I'm not a newbie with Shopify.
I want to be able to change the background color *only* for my product pages, and perhaps the background color of featured collections, but not change the color for the whole site.
Does anyone know how I might accomplish this?
Thanks in advance for any advice.
Solved! Go to the solution
This is an accepted solution.
oh, in that case, you just need add this code to the box
{background: #ff0000;}
Hi @killerpresets ,
This is Mike from Omega
If you only want to change the background color for only Featured Collection section, you can try my solution:
1. Theme -> Customize theme
2. Select Product page
3. Paste this CSS code into Custom CSS box and Save
.collection.page-width {
background: #aaa;
}
You can change the color code you want.
Hope my answer will help you
Mike from Omega
Thanks for the suggestion. I tried it with no luck. I thought body background-color: #FF0000; would do it too but, nope.
Could you leave your store URL then I can check it for you?
https://killer-presets-9258.myshopify.com/
This gets me closer but now the product image disappears:
div {
background-color: #ff0000;
}
Which option do you want to change color?
1.
or
2.
Tell me which option do you prefer
Wow! 2 would be awesome!
You can add this code into this box
main#MainContent:has(.product) {
background: #ff0000;
}
I tried it but still no change. That's what is published right now.
This is an accepted solution.
oh, in that case, you just need add this code to the box
{background: #ff0000;}
That's it!
Thanks for taking the time to help!
I am very happy to help you.
If it’s helpful to you, please give it a like to motivate me.
Thanks.
Mike from Omega
Hi! This code worked for me, but the collections seemed to appear behind the background. The text appear, but the image no. Can you help please?
Could you leave here your store url?
@doisdemonios please tell me more details about your issues
User | RANK |
---|---|
73 | |
67 | |
59 | |
56 | |
42 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023