Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi!
I'm new to Shopify, i'm currently doing my first store. I want to make my menu items bold and leave submenu items normal. However, the solutions I found online don't seem to work.
This code worked if I wanted to make all items (including submenus) bold.
.list-menu__item a {
font-weight: 700;
}
I asked ChatGPT if it can provide a solution and it came up with these options:
1.)
.list-menu__item:not(.list-menu__item--sub-menu) a {
font-weight: 700;
}
2.)
<style> .site-header__menu li a { font-weight: bold; } .site-header__menu .sub-menu li a { font-weight: normal; } </style>
.header__menu-item:not(.caption-large) { font-weight: 700; }
thanks for post its prefect work
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025