Hi there, ok so my client is insisting on navigation consistancy on their site, which makes logical sense.
I will need to make the menu position fixed across all pages. Please can you explain to me which php files i need to add a class too.
I know you said in your reply above that its a long process, but please can i get some help on this.
Hi MrMarqua there are just a couple of files to edit. Better do this in a child theme though. In the js folder, hashone-custom.js file, you need to add the classes of the pages where there’s not the sticky effect.
In the window.scroll function, change the following line from this: $('.page-template-home-template #hs-masthead, .home.blog #hs-masthead')
to this $('.page-template-default #hs-masthead, .page-template-home-template #hs-masthead, .home.blog #hs-masthead, .blog #hs-masthead')
Then, do the same on the style.css of the theme, adding
.page-template-default and .blog to the three sections of #masthead starting at line 1152.