Shopify themes, liquid, logos, and UX
Hi there,
I want to change the color of the background of a single page from White to an off-red (#F80000). With black heading, and white body font.
I know you can change scheme 1 as this changes the default colors everywhere, but it leaves a really ugly red flash when opening and transitioning to new pages.
Currently looks like this
Want it to look like this
With a black heading, and white body font. (I did that in inspector, but I don't know how to get the code)
website: https://404virtues.com/
Solved! Go to the solution
This is an accepted solution.
Hi @404virtues,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'about-us' %}
<style>
main#MainContent {
background-color: #F80000 !important;
color: #ffff !important;
}
</style>
{% endif %}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Hi @404virtues,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'about-us' %}
<style>
main#MainContent {
background-color: #F80000 !important;
color: #ffff !important;
}
</style>
{% endif %}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thank you so much.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024