Jump to content

Double Load when hiding first-child item in navigation folder

Recommended Posts

Site URL: https://chihuahua-caper-yc29.squarespace.com/our-services-main

Hi!

I have used a code to hide the first-child item from my navigation folder but whenever this is active, that specific page loads twice or refreshes. 

I'm using Squarespace 7.0, the Pacific template and the following code:

 

1. #mainNavigation > div.folder > div > div:nth-child(1){

 display:none;

}

 

Could anyone advise me what the problem could be?

 

Link to comment
  • Replies 3
  • Views 298
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 weeks later...

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.