Search the Community
Showing results for tags 'primary navigation'.
Found 4 results
Site URL: https://opticair.co.uk/ Using the Sonora template, I have my home page set up as several sections, with anchor links within a fixed position primary navigation to enable the user to quickly navigate around the page, with a tidy scrolling visual effect. This would work (and has worked) fine if this were the only page on my site, using the link format '#section-name' to take the user to 'domain.co.uk#section-name'. There are additional pages in my site, which the user can access through links within the body of the home page and on which the primary navigation is obviously still displayed. However, the primary navigation links in the format '#section-name' do not work from this page as they attempt to take the user to 'domain.co.uk/subpage#section-name' and the sections do not exist within the sub page. I addressed this by changing the primary navigation link format to '/home#section-name', which solves the problem when navigating from the sub page. However, now when using the links whilst already on the home page, the link takes the user to the correct section, but the scrolling effect does not always show. On the first click of a primary navigation link (whichever link) after loading the site, the page reloads, rather than scrolling, with the appended '/home' (from 'domain.co.uk' to 'domain.co.uk/home#section-name'), landing the user at the correct section. Upon clicking any further links, the scrolling effect shows correctly as the '/home' page is already loaded in the address bar. What I would like to achieve is that when using the primary navigation when already viewing the home page, the content always scrolls, whether it is the first click of a link or not. When clicking the link from any other page, it already correctly loads the home page at the required section; no scrolling is required here as the user is actually navigating to another page. Two possible solutions I can think of are either to force the site home page to always show its full 'domain.co.uk/home' url upon loading, rather than just 'domain.co.uk', or to make the primary navigation links dynamic so that on the home page they take the format '#section-name' but on all other pages they take the format '/home#section-name'. I do not know how to implement either of these ideas. I have also considered having the sub page content open in something like a lightbox, rather than a separate page, to avoid navigating away from the home page at all, but I expect the site to grow and this will not be suitable for all future content, so I would rather address this by other means. Can anyone help with implementing either of my suggested solutions, or does anyone have any other solutions? I have tried to be thorough but this seems like a lot of explanation for a simple issue! Hopefully there is a simple solution. Thanks in advance.
Site URL: https://www.wmd-inc.net/ Hi Guys, Any way to code or otherwise so that I can get the primary nav buttons to stick at the top of the screen, even when scrolling down the page? Using the brine template & parallanx scrolling with multiple index pages on each displayed page. Thanks in advance!
Hi, I'm using the Brine template and I am trying to add a section from my Index page to the Primary Navigation so I can smooth scroll from the primary navigation down to that section of the page. Is this possible? Right now the only thing appearing on my primary navigation is the entire index page. I would like 2 sections from the index to appear there. Please help! Thank you!
Hi guys, I'm having trouble with my links in primary and secondary navigation. I used links so that they can bring me through to a new page given that my page is bilingual. When I click on the FR link it takes me to the proper page, but the navigation remains in english for some reason. On each page I have integrated the code below to hide the navigation of the other language: This problem only started recently, it was working initially and I don't think I would have changed anything that could have caused this. This only happens on the live set. When in editing mode everything works fine...? Does anyone know what could be the problem? Thanks!