Sections reveal on button click

Description

08.26c03v9 Sections reveal on button click

#1. Install Code

#1.1. First, add some button blocks with desired text/url08.26c03v9 Sections reveal on button click

In my example, we will use url like these

  • #lightest-1
  • #dark-1
  • #bright-1

08.26c03v9 Sections reveal on button click

#1.2. Next, add some sections and design your desired layout.

#1.3. Next, hover on top right of these sections > click EDIT SECTION > at Design > Anchor Link > enter word with format: reveal-buttonurl

Something like this

reveal-lightest-1

08.26c03v9 Sections reveal on button click

reveal-dark-1

08.26c03v9 Sections reveal on button click

reveal-bright-1

08.26c03v9 Sections reveal on button click

#1.4. Hover on page where you use these buttons/sections > Click Gear icon

08.26c03v9 Sections reveal on button click

#1.5. Click Advanced > Paste this code

  • If you use Personal/Basic Plan and your plan doesn’t support Injection, see #3.1
<!-- 08.26c03v9 Sections reveal on button click -->
<script>
window.SectionsRevealConfig = {
  sectionIdPrefix: "reveal-",
  disabledOpacity: 0.4
};
</script>
<script src="https://code.beaverhero.com/buttonblock/0826c03v9revealsectionbuttonclick.js"></script>

08.26c03v9 Sections reveal on button click

#2. Customize

#2.1. To tweak more, you can use this AI Assistant (designed for Squarespace sites)

#3. Other

#3.1. If you use Personal/Basic Plan and your plan doesn’t support Injection, you can edit current page (page where you use Buttons) > Add a Block > Choose Markdown

04.26c10v2 Header Sound Icon

Add this code into Markdown

<script>
window.SectionsRevealConfig = {
  sectionIdPrefix: "reveal-",
  disabledOpacity: 0.4
};
</script>
<script src="https://code.beaverhero.com/buttonblock/0826c03v9revealsectionbuttonclick.js"></script>

08.26c03v9 Sections reveal on button click

Buy me a coffee