How can I make the first item in all menus bold?

Hi,

I hope some of you can help me. I’d like to have ALL the FIRST items in my main menus be in bold font.

I found the following code in a post, but it doesn’t make ALL the first menu points bold, only (for some reason) the first point in the second menu. The code was added to my theme.liquid file before the . Maybe it’s easier for some of you to edit it than to make something new, so I’m pasting it for you here (I removed the code again):


You can see my shop at webshop.raatoggodt.dk with password “Christian”.

Can someone help? Thanks!

Hey @JonasRaat

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

But won’t this only change the first menu item in my “Møbler & Indretning” point? I also want the first point in the following menus (Materialebank and ReBike will also get a menu) to be bold.

Hey @JonasRaat

The first point of those two menus are already bold, I just checked.

Best Regards,

Moeed

That’s because I tried a little coding myself, using your code as a base - is this the correct way of doing it if we add more menu points?