Jump to content

Toggle Button for Content

Go to solution Solved by rwp,

Recommended Posts

Site URL: https://www.wardrvstorage.com/pay-online

Hello!

I was looking for some help regarding toggle content. I was using this tutorial (https://www.spacetutorials.com/toggle-button-for-content) in order to change between 6 months and 12 months. I edited the code to fit my desired design, however even when using the original I still face the same problem - so I do not think my code-barf was the issue in this particular case.

If you go from the home page to the pay online page, the toggle script fails. It only works if you load into the pay online page directly, or if you refresh it after you are already on the page. I have attached pictures of both it working as well as it failing. I have also tried it with different items, as well as on different browsers without logging in to squarespace just to be thorough.

If anyone knows how to fix this, or has any other toggle script like this, I would be incredibly thankful!

URLs:

https://www.wardrvstorage.com

https://www.wardrvstorage.com/pay-online

Passwords: wardrv

screenshot-www.wardrvstorage.com-2020.08.17-16_29_18.png

screenshot-www.wardrvstorage.com-2020.08.17-16_26_29.png

Link to comment
  • 1 year later...
On 8/17/2020 at 7:02 PM, Anderwood said:

Site URL: https://www.wardrvstorage.com/pay-online

Hello!

I was looking for some help regarding toggle content. I was using this tutorial (https://www.spacetutorials.com/toggle-button-for-content) in order to change between 6 months and 12 months. I edited the code to fit my desired design, however even when using the original I still face the same problem - so I do not think my code-barf was the issue in this particular case.

If you go from the home page to the pay online page, the toggle script fails. It only works if you load into the pay online page directly, or if you refresh it after you are already on the page. I have attached pictures of both it working as well as it failing. I have also tried it with different items, as well as on different browsers without logging in to squarespace just to be thorough.

If anyone knows how to fix this, or has any other toggle script like this, I would be incredibly thankful!

URLs:

https://www.wardrvstorage.com

https://www.wardrvstorage.com/pay-online

Passwords: wardrv

screenshot-www.wardrvstorage.com-2020.08.17-16_29_18.png

screenshot-www.wardrvstorage.com-2020.08.17-16_26_29.png

Hey,

Could you share the code with me? It seems that the article was removed. I'd much appreciate it!

Link to comment
11 hours ago, pkoziol said:

It seems that the article was removed.

I think the article's URL changed: https://www.kenwestphal.io/spacetutorials/toggle-button-for-content/

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.