Jump to content

Changing header image (and texts, contents) with Toggle button in the corner..

Recommended Posts

Posted

Hey all, 

I cannot find the exact example that I can show what I mean by, so hopefully my words make sense to you all.. 

I wanted to make 2 different versions of the header of my website, and when users click the toggle button on the side of the hero section of the website, then they can see the different versions of the image and contents  (will be image and texts blocks) 

Not sure if this can be done with the existing features of Squarespace or custom code.

 

Looking forward to hearing from you all! Thanks 

  • Replies 3
  • Views 200
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...
Posted

@tuanphan

Actually what I really want to do, is drag the bar on the hero section then the hero image changes (like before and after )like a reference 
Can code block make like this? 
image.png.a843019d7d2120057495f429876320fc.png

Posted
On 12/2/2024 at 5:04 PM, amykang said:

@tuanphan

Actually what I really want to do, is drag the bar on the hero section then the hero image changes (like before and after )like a reference 
Can code block make like this? 
image.png.a843019d7d2120057495f429876320fc.png

With this before after slider, you can use plugin (affiliate link)

or you can consider use this simpler approach

 

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!)

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.