A couple one page Nav quirks I need to work out

Good day,

I am working on a site called seekmor.com there are a few issues i need help resolving.

Issue #1: When I click on the one a nav link (set up as one page nav) it takes you down to the section but the section is covered up by the secondary nav bar. How can I get it to bring me to the top of the section. I will attach two images, 1. Showing how it is covering the section and 2. How I want it to look when you push a nav link.

Issue #2: On the mobile nav it takes you down to the section but the nav modal overlay stays open. How can I make it so that when you select a nav button on mobile, it closes the modal and takes you to the correct section.

Thank you again for you help in advance for this,

You guys are the best!

Hi @bcoplin

Thanks for writing in!

Regarding issue #1: there is no option currently to add offset value or the sticky menu bar, however you can give your sections padding-top value, I believe 90px should be fine, check this screenshot to know what I mean:

For issue #2: you can add this JS snippet to (Pro > Theme Options > JS):

jQuery('.x-menu-modal .x-anchor-menu-item').on("touchstart click", function(){
       jQuery(".x-modal-bg").trigger("click");
});

Thanks.

1 Like

So i put in the jQuery but now the about button does not work on mobile.

Hi @bcoplin,

I totally understand the case and I see that my colleague did his best to help you out with the 2 issues you have regarding the one-page navigation. Actually, I want to mention that this was a problem that brought to our developer’s attention before, and they did their best to refactor the code and make the one-page navigation work for the pro theme completely.

That is why I have the points regarding the one-page navigation now in the changelog of the new version which will be released very soon:

https://theme.co/changelog/

So I suggest instead of going back and forth and doing this Band-Aid code edition we wait for few days and have a version which actually will work with no problems regarding the one-page navigation including those two points that you have mentioned already.

Please stay tuned for the upcoming release thank you for your understanding and patience.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.