Shopify themes, liquid, logos, and UX
Hello
How can I change the cart page background color as well as the footer background color for the cart page only?
Website link: https://msmoh.myshopify.com/cart
Solved! Go to the solution
This is an accepted solution.
Hello @nalnowaeam
Add this code in the bottom of the theme.scss file.
1. Navigate to Online Store->Theme->Edit code
2. Asset->/theme.scss ->paste Above code at the bottom of the file.
3. Save it.
/* cart page body */
body.template-cart .main-content{
background-color:#f0e7c9 !important;
}
/* cart page footer */
body.template-cart #shopify-section-custom-footer{
background-color:#ffe200 !important;
}
This is an accepted solution.
Hello @nalnowaeam
Add this code in the bottom of the theme.scss file.
1. Navigate to Online Store->Theme->Edit code
2. Asset->/theme.scss ->paste Above code at the bottom of the file.
3. Save it.
/* cart page body */
body.template-cart .main-content{
background-color:#f0e7c9 !important;
}
/* cart page footer */
body.template-cart #shopify-section-custom-footer{
background-color:#ffe200 !important;
}
Hello there,
I'm unsure why this doesn't work for me. Please could you help me:)
I do not have a theme.scss file unde Assets
Did you ever find a way around it? I'm having the same issue
Hi @nalnowaeam ,
You can follow the instruction below:
1. Go to Online Store->Theme->Edit code
2. Asset->/custom.scss->paste below code at the top of the file:
.template-cart {
background: #fff !important;
}
NOTE: You can change value #fff to match your theme.
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024