Jump to content

Click button to display text block

Recommended Posts

  • Replies 9
  • Views 2.4k
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

I wrote a quick guide here, you can follow it.

https://summaryblock.com/click-button-show-corresponding-section/

In case you can't make it work, you can share link to page where you added buttons + sections + which code you added, I will adjust the code for you.

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...

Thanks a lot! I have added it to the website and it works when I look at when i'm logged in my squarespace account, but when I try to look at from outside (as password protected website not logged into squaresoace) the feature doesn't work, and we I cick to the buttons it redirects me to the beginning of the same page (reloads the page) and the box doesn't change. Do you knwo why?

Link to comment
On 3/14/2024 at 8:58 PM, costum-websit said:

Thanks a lot! I have added it to the website and it works when I look at when i'm logged in my squarespace account, but when I try to look at from outside (as password protected website not logged into squaresoace) the feature doesn't work, and we I cick to the buttons it redirects me to the beginning of the same page (reloads the page) and the box doesn't change. Do you knwo why?

Can you share link to page? I can check easier

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 months later...

Hello! This works for me when viewing both the desktop and mobile versions on desktop, however, was wondering how to get it working on mobile? When I view on my mobile device, the buttons just keep redirecting me to the page, and not displaying the sections.

 

site: www.weareearthe.com/home

Link to comment
23 minutes ago, earthesoul said:

Hello! This works for me when viewing both the desktop and mobile versions on desktop, however, was wondering how to get it working on mobile? When I view on my mobile device, the buttons just keep redirecting me to the page, and not displaying the sections.

 

site: www.weareearthe.com/home

You need to make sure option "Open in New Tab" is disabled.

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.