Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: How Do I Change The Header Menus Style Separately

Solved

How Do I Change The Header Menus Style Separately

Andy106
Pathfinder
114 7 32

Hello!

 

I'm trying to change my header menu items color and style separately, to be like in this image here:

Andy106_0-1701643330296.png

 

Can anyone assist me? 

site: https://o1wpcjjz2a3jgr0q-78669414739.shopifypreview.com

Thank you!

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Hi @Andy106 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
nav.header__inline-menu li {
    background: white;
    border: 1px solid black;
    border-radius: 20px;
    padding: 0px;
}
ul.list-menu.list-menu--inline {
    gap: 20px;
}
.header__menu-item {
    padding: .9rem 2rem !important;
}
sticky-header.header-wrapper.color-background-1.gradient.header-wrapper--border-bottom {
    background: bisque !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1701646862560.png
  • You can change the color you like. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Oh, sorry I didnt notive that one. 

Add this code, on the base.css file.

 

@media only screen and (min-width: 749px){
ul#HeaderMenu-MenuList-2 li {
    border: none !important;
}
}

 

And save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Hi @Andy106 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
nav.header__inline-menu li {
    background: white;
    border: 1px solid black;
    border-radius: 20px;
    padding: 0px;
}
ul.list-menu.list-menu--inline {
    gap: 20px;
}
.header__menu-item {
    padding: .9rem 2rem !important;
}
sticky-header.header-wrapper.color-background-1.gradient.header-wrapper--border-bottom {
    background: bisque !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1701646862560.png
  • You can change the color you like. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Andy106
Pathfinder
114 7 32

Perfect, thank you!

Andy106
Pathfinder
114 7 32

Solution is perfect, I was just wondering if there is a way for me to remove the circle for when I choose the subcategories, I mean for the subcategory to be normal without the circle style:

Andy106_0-1701648744369.png

 

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Oh, sorry I didnt notive that one. 

Add this code, on the base.css file.

 

@media only screen and (min-width: 749px){
ul#HeaderMenu-MenuList-2 li {
    border: none !important;
}
}

 

And save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
leesa22
Shopify Partner
4 0 0

In addition to this, how would you change the button background color when hovering? Or having the background of each button a different color?