Hi there – I’m trying to make the last menu item (FREE Printables) look like a button so it sticks out from the others. Ideally white font with #F18031 background.
Here is a screenshot of my menu. (Thanks in advance for your help!)
A user wants to style a specific menu item (\
Hi there – I’m trying to make the last menu item (FREE Printables) look like a button so it sticks out from the others. Ideally white font with #F18031 background.
Here is a screenshot of my menu. (Thanks in advance for your help!)
yes please share store url
@AshHannah please share your store URL and password(If it is password protected.). So that I can check and give you the exact solution.
Hi there: Affirmativities.com
Password: Open
Thanks!
Hi @AshHannah
add this code to your base.css file.
Navigate to online store >> Click edit theme code.
Now find base.css and paste the following code.
.header__inline-menu .list-menu li:nth-child(4){background: #F18031 !important;}
.header__inline-menu .list-menu li:nth-child(4) a{color: white !important;}
I hope it will be helpful for you.
Thanks
Did it solve your issue?
- If yes, Like & Mark As Solution to help the community
- If not, let me know. also share a screenshot of the code that you added.
That worked! Thank you so much! ![]()
Hi there,
This worked for me, thank you! However it also changed the colour of pages that dropped down, I only want to chain the main menu not items nested underneath… Any help would be great ![]()
Hi Marvic, how could we do it so it works on mobile as well? Just for this same one item of the menu? Thank you!
Hello, can you help me with the same issue please?
I have the prestigie theme.
Hey!
I found a code element that helped me do it, however, it only works for the
desktop version and not on mobile. Also, if you have a dropdown menu, it
will apply as well.
The code is as follows (remember to change the #number with the colour
you’d like):
}
.header__inline-menu .list-menu li:nth-child(1){background: #FAFAFA
!important;}
.header__inline-menu .list-menu li:nth-child(1) a{color: #F8B105
!important;}
You can copy and paste it at the end of your base.css page.
Mine is the prestige theme, i dont find a base.css page ![]()
Thanks anyway!!
oh sorry for that issue can you please send store url
I Will send you by email. Many thanks!