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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024