Shopify themes, liquid, logos, and UX
Hi,
I am wanting my header to have a horizontal colour gradient from RGB 46 122 123 to RGB 247 177 30, left to right. How can I achieve this?
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hi @AnjasB ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
.header {
background: linear-gradient(to right, rgb(46, 122, 123), rgb(247, 177, 30)) !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hi @AnjasB
.header {
background: linear-gradient(to right, rgb(46, 122, 123), rgb(247, 177, 30)) !important;
}
You can try to add this code to Custom CSS in Online Store > Themes > Customize > Theme settings
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hi @AnjasB ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
.header {
background: linear-gradient(to right, rgb(46, 122, 123), rgb(247, 177, 30)) !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025