Custom menu link crashing the styling

Hi!

Please head over to my website: https://www.ponylab.studio/

At the top menu bar, click on the ‘’‘reviews’’ link.

It’s working perfect.

BUT!

head now to this page: https://www.ponylab.studio/portfolio/

And click on the ‘‘reviews’’ button in the header menu.

It’s buggy…

Thanks!
Serge

Hi Serge,

Thanks for writing in! Please follow our one page navigation guide here (https://theme.co/apex/forum/t/features-how-to-setup-one-page-navigation/96) and properly setup your navigation.

If you’re still having issues, first you need to disable your 3rd party plugins and re-test this issue again.

If you require further assistance, please provide us with the login credentials in a secure note.

Thanks!

Hey Serge,

When you click on a jump link (link with fragment identifier or #), what happens is, a script in the theme is triggered to scroll to the section smoothly and then moves the section down to take into account the header’s height or it is offsetting the header.

What happens in your home page is, all the scripts and everything in the page (including parts that rely on Javascript) are already loaded before you can click on “reviews” link so it works flawlessly.

Clicking it from other pages like your portfolio page or just loading this URL directly (https://www.ponylab.studio/#reviews) on the other hand works like you click the link first before the loading of scripts so if the theme’s script triggers first before the other scripts finishes loading, it could mess up the position of the offset. Almost all of your page content (Page Loader, Text Typing, Text Slider, Enivray Gallery, Testimonial Slider) relies on Javascript display. If everything loads first before the theme’s script is triggered, the link will work fine as you can see in this recording. It loaded fine because by repeatedly loading your page, the browser cached the resources so it loaded fast thus loading the correct sequence of scripts.

In summary, you have lots of scripts in your home page. Try reducing those scripts by simplifying your content.

Thanks.

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