Shopify themes, liquid, logos, and UX
Hi there!
I am wanting to change the background colour of the strip behind the navigation/menu bar to #FF79A4.
I would then also like to change the font colour of the navigation to white.
I would still like to keep the rest of the header background white, it is just the horizontal bar that goes behind the navigation items that I'm wanting to change.
I'm using the Colorblock theme.
Thank-you!
Vanessa.
@vmckellar - can you please share your website link?
@vmckellar - add this css too
@media screen and (min-width: 990px){
.header {padding: 0 !important;}
}
@vmckellar - add this too
.header{max-width: 100%;}
@suyash1 OK perfect! 😊
Now, how to change the font colour to white and add just a little bid of padding above the logo?
Thank you!
@vmckellar - I do not recommend white as your drop down background is also white, it will not be visible
@suyash1 Ahh ok, is there anyway to change just the font in the nav bar and leave the drop downs as is?
@vmckellar - try this
.header__menu-item span {color: #fff;}
.header__menu-item .icon-caret path{fill: #fff;}
@suyash1 Thank you so much!
It worked, except it also changed the colour for any of the menu items with sub-items/further drop downs in the drop downs:
@vmckellar - try this
.header__submenu .header__menu-item span{color: #000;}
@vmckellar - it is white only
Thanks @suyash1, but before we changed the font colour of the nav bar to white, the little arrows on the drop downs were black like this:
Now they must be white as we can't see them:
Are we able to keep them black?
Thanks!
All good, figured it out. Added this line of code:
.header__submenu .icon-caret path{fill: #000;}
@vmckellar - great, do let me know if you need any other update, you can message here or you have my email below
Thank you so much, I really appreciate the help! 😊
@vmckellar - your header is in grid format and hence menu does not go full width horizontally and that is why it will not be a complete strip, so it needs css editing, please check screenshots, it changes alignments a bit
@vmckellar - please add given css to the very end of your base.css file and check
.header__inline-menu{background-color: #FF79A4; width: 100%; text-align: center;}
.header__search{padding-left: 5rem;}
.header__icons{padding-right: 5rem;}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025