Jump to content

7.0 Index page section indications on the side - How to hide mobile sections?

Go to solution Solved by tuanphan,

Recommended Posts

Hi, in Squarespace 7.0, we get the section indications on the side, showing us on which section of the index we currently are (is there an official name for this element? I'll call it side index navigation)

Generic example: I have 10 sections that are only for mobile, and 10 only for Desktop.

However, the side index navigation always shows all sections, so no matter if I'm on mobile or Desktop, I will always get all of them which will be confusing for the customer. Why are they seeing 20 lines on the side index navigation, when there are only 10 sections on the page?

Is there a way to hide certain section indicators  from the side index navigation when we're on desktop and vice versa?

Here's a specific example:

https://www.xcrafts.com/free-ejets

On mobile, if I hide the Features section: https://www.xcrafts.com/free-ejets#free-ejets-features

I will also want to hide the Features section on the side index navigation:

image.png.c68f84eb29e84c108e15c8cb790a4faa.png

How can I do that?

Link to comment
  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 3/22/2023 at 9:39 PM, mrkmmvl said:

Hi! As I mentioned, I want to hide this section ->  Featureshttps://www.xcrafts.com/free-ejets#free-ejets-features

Note that I know how to hide the section itself, but I need to hide it form the index navigation on the side of the screen.

Add to Design > Custom CSS

a.Index-nav-item[href="#free-ejets-features"] {
    display: none;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 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.