Hi everybody! I would like to create a first child main menu item in order to create a breadcrumb path on my collection page without showing that item as dropdown in my main menu. Thank you!
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset >base.css and paste this at the bottom of the file:
#main-menu .menu-item:first-child {
display: none;
}
Thanks for your quick reply, I added your css but the child is still there.
Hello There,
Please share your store URL and Screenshot.
So that I will check and let you know the exact solution here.
Please add this CSS code in your theme.css file
.site-nav li:nth-child(2).site-nav__dropdown { display: none !important; }
Thanks, but the dropdown is still there.
Hello everybody! It appears to me that I have to change the code in site-nav.liquid that generates the dropdown menu. Can anybody help out, I don’t know a thing about coding. Thanks again!


