Jump to content

How can I add a Code Block into an accordion menu dropdown?

Recommended Posts

Hiya,

I'd love to have an accordion menu listing different genres of music. When a genre is clicked, the user will see an embeded soundcloud player for each genre in the accordion tab.

Is there any way to add code into the accordion tab? Example:

FUNK +

JAZZ +

SWING +

Click one, and an html embedded code block drops down.

Link to comment
  • Replies 1
  • Views 332
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

This is complex with default Accordion Block. 

You can use some 3rd party plugin (affiliate link) to achieve this. With this plugin, you can add any blocks into Accordion Content.

If you still want to use default Accordion Block, you can add some embed blocks under accordion, then share page url, we will use script code to move embed block into accordion content

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

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.