How to hide navigation container on homepage only

Hi,

i want to hide the navigation container only on homepage , i want it to be visible on other sub categories
if i try display none , it is hidden from most pages

1 Like

You can target different pages using their class (which you can find by using the browser inspector). This one hides it on my test site, which has Categories as its homepage:

.navigation-categories .category-breadcrumb {
        display: none;
    }

Though I think I’ve targetted just the breadcrumb rather than the whole navigation container for that one, but the method is still very similar. :slight_smile:

2 Likes