Shopify themes, liquid, logos, and UX
i want to change only one colour of my store a different colour to the rest of the store without changing any of the other pages, please can someone help
Solved! Go to the solution
This is an accepted solution.
Hey @chelsie2024
Remove the previous code and try this updated code with the same steps.
{% if handle contains 'v1-beauty' %}
<style>
main#MainContent {
background: white !important;
}
sticky-header.header-wrapper.color-accent-2.gradient.header-wrapper--border-bottom {
background: white !important;
}
div#shopify-section-footer .footer {
background: white !important;
}
div#shopify-section-footer {
background: white !important;
}
</style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
@chelsie2024 Could you please share the page URL where you want to update the colour?
Also, share a screenshot of the section where you want to update.
Hey @chelsie2024
Can you share the URL of the page where you want to change the background color of?
Best Regards,
Moeed
Hey @chelsie2024
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if handle contains 'v1-beauty' %}
<style>
main#MainContent {
background: white !important;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
OMG!! it worked! please can you also show me how to change the footer and header!
This is an accepted solution.
Hey @chelsie2024
Remove the previous code and try this updated code with the same steps.
{% if handle contains 'v1-beauty' %}
<style>
main#MainContent {
background: white !important;
}
sticky-header.header-wrapper.color-accent-2.gradient.header-wrapper--border-bottom {
background: white !important;
}
div#shopify-section-footer .footer {
background: white !important;
}
div#shopify-section-footer {
background: white !important;
}
</style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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