Shopify themes, liquid, logos, and UX
How to add background for menu bar,
I want to add pink background behind my menu bar. Header should be white as it is but different background colour for menu.
https://784221-79.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Hi @hem0903
You change just add this CSS in your theme.css/ Base.css
header.main-header.main-header__container .main-header__wrapper { background: linear-gradient(0deg, pink 60px, transparent 60px);}
header.main-header.main-header__container .main-header__wrapper .header__inline-menu.desktop-only { background: transparent !important; }
Replace the word pink with the color code you want there.
If This Solution work Kindly Like This and Mark it As a Solution
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
This is an accepted solution.
Hi @hem0903
You change just add this CSS in your theme.css/ Base.css
header.main-header.main-header__container .main-header__wrapper { background: linear-gradient(0deg, pink 60px, transparent 60px);}
header.main-header.main-header__container .main-header__wrapper .header__inline-menu.desktop-only { background: transparent !important; }
Replace the word pink with the color code you want there.
If This Solution work Kindly Like This and Mark it As a Solution
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025