Jump to content

Squarespace 7.1 - Accordion Block: disable opening on one specific item

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://steven.squarespace.com

I have an accordion block on my website that looks like a nav menu. The accordion has two items: 'Team' and 'Partners'.

I would like to disable expandability on the 'Partners' item. In other words, when you click on 'Partners', it should not open. I will then turn the item title into a clickable link, hopefully.

Thank you in advance.

Edited by alanx
Link to comment
  • pro changed the title to [UNRESOLVED] Squarespace 7.1 - Accordion Block: disable opening on one specific item
  • Solution

Add to Design > Custom CSS

div#block-yui_3_17_2_1_1637333912554_2383 li:nth-child(2) .accordion-item__dropdown {
    display: none;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • pro changed the title to Squarespace 7.1 - Accordion Block: disable opening on one specific item

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.