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));
padding: 20px; /* Optional: Add padding to your header */
}
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 and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- 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!
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