Re: Fix Menu bar selector on shrine theme

Solved

Fix Menu bar selector on shrine theme

robertbarta
Explorer
71 0 15

If somone can do this, I'd like the box to be the lighter blue (color code: #B3D9FC)i am trying to make my announcement bars look like this (1).png

Accepted Solution (1)

sahilsharma9515
Shopify Partner
1277 165 247

This is an accepted solution.

Hi @robertbarta Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

.header__active-menu-item {
    color: white;
    border-radius: 3px;
    background-color: red; //change color according to your needs.
    text-decoration: none;
}

.header__menu-item span{
	padding:1px;
}
.header__inline-menu .header__menu-item{
	padding:0 7px;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1715758715637.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


View solution in original post

Replies 6 (6)

Raj-webdesigner
Shopify Partner
360 90 88

Add This css in your edit Code > base.css File 

.header__inline-menu .header__active-menu-item{
	background:#B3D9FC;
    text-decoration: unset;
    border-radius:5px;
}
.header__menu-item span{
	padding:0.8rem;
}
.header__inline-menu .header__menu-item{
	padding:0 0.5rem;
}

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


sahilsharma9515
Shopify Partner
1277 165 247

This is an accepted solution.

Hi @robertbarta Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

.header__active-menu-item {
    color: white;
    border-radius: 3px;
    background-color: red; //change color according to your needs.
    text-decoration: none;
}

.header__menu-item span{
	padding:1px;
}
.header__inline-menu .header__menu-item{
	padding:0 7px;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1715758715637.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


robertbarta
Explorer
71 0 15

remove line.png

sahilsharma9515
Shopify Partner
1277 165 247

Hi @robertbarta Add this code as well.

 

.header__active-menu-item {
    text-decoration: none !important; //Just add this line in the previous code which I have provided.
}

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


robertbarta
Explorer
71 0 15

Okay, thank you! Are you able to fix the background on the menu? I noticed that the code causes the menu background to be transparent as opposed to white. it does it for the sticky add-to-cart, as well as the menu on mobile view:

menu background.pngmobile menu.png

robertbarta
Explorer
71 0 15

Hello?