Jump to content

Prevent navigation buttons from loading delay

Recommended Posts

Site URL: https://banjo-recorder-36fe.squarespace.com

Hi there!

I am trying to fix an odd problem with my website. 

I am creating a button for language selection that translates every page to a second language, separately. 

This button is to be included in the navigation (header) and it has to link to specific pages, corresponding to the page you are.

I've used the EDIT SITE HEADER>ELEMENTS>BUTTON option to allow buttons on navigation and a script by @creedon to add the button I want. Then I used CUSTOM CSS to hide the first button created by EDIT SITE HEADER>ELEMENTS>BUTTON and kept the one I've created using the script by @creedon visible.

I've done this and it is working but as the navigation links are load first and when the button is loaded the navigation moves to fit it in. This is the main problem.

The other problem is that some pages overlap the navigation links with the page content on loading. I would also like to correct this.

Is there anyone available to help?

Website password: musa

Thanks a lot!

Miguel 

 

Edited by MiguelFerrao
Added info
Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.