I have been trying to bold the submenu on my navigation. So for example, there is dogs, leave that as is, then under that there is “Food” I want that bolded, and everything under that to stay the same. Just the submenu. I have come across other forums where they have provided lines of code, but nothing has worked for me or at least it is not showing up on the preview. I even tried previewing in Incognito mode and I see no changes.
Hi @PupsCubs
Would you mind to share your store URL? Thanks!
https://6e784e-c3.myshopify.com/?_ab=0&_fd=0&_sc=1
Store password is: PupsCubs
Thanks for the info, I check your store its already bold with 700 font-wieight. Do you like to make it more bolder? If it is check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
a#HeaderMenu-dogs-food, a#HeaderMenu-dogs-toys {
font-weight: 900;
}
And save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Please, replace on this one.
a#HeaderMenu-dogs-food, a#HeaderMenu-dogs-toys {
font-weight: 900 !important;
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Still, nothing. Unless there is a step I am missing or why it’s not showing me? I am on the Refresh theme by the way if that changes anything.
Hello! It must have took some time to refresh, but the previous line of code actually worked! Thank you. One last question, if I add more submenus will it automatically apply to those as well or will I need to update the code?




