Jump to content

Add images to drop down accordion.

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

1 hour ago, saschulze said:

Site URL: https://www.infinix.com/all-products/flowable-composite

Hello,

On our products pages I have a drop down accordion that currently displays text.  There is a Technical Details section that I want to include images along with the text.  I don't see an option to add an image. 

How could that be accomplished?

Thank you,

Stephanie

You can get reference from @tuanphanpost in #14. Add an Image inside Accordion Content

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

This works however it changes all the accordions on every page to the same image.  I have three commerce pages as below.  Each Tech section would have a different image.  How could I target that specific page with a specific image in the accordion?

https://www.infinix.com/all-products/bulk-fill-composite

https://www.infinix.com/all-products/universal-bonding

https://www.infinix.com/all-products/flowable-composite

Link to comment
On 2/11/2022 at 8:44 PM, saschulze said:

This works however it changes all the accordions on every page to the same image.  I have three commerce pages as below.  Each Tech section would have a different image.  How could I target that specific page with a specific image in the accordion?

https://www.infinix.com/all-products/bulk-fill-composite

https://www.infinix.com/all-products/universal-bonding

https://www.infinix.com/all-products/flowable-composite

You can wrap the code in style tag 

<style>

add code here

</style>

Next, edit each page >> Additional Info >> Add a Code Block >> paste the code

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

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.