Solved

How Do I Change The Header Menus Style Separately

Andy106
Pathfinder
111 7 29

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
6076 1461 1799

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Made4uo-Ribe
Shopify Partner
6076 1461 1799

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
6076 1461 1799

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


Andy106
Pathfinder
111 7 29

Perfect, thank you!

Andy106
Pathfinder
111 7 29

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
6076 1461 1799

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


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?