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.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024