Jump to content

FAB link to subscribe section of homepage

Recommended Posts

Hi, 

I've created a fab which appears on each page of my site ('subscribe to our mailing list') and I would like it to link back to the subscription section of the homepage so users can sign up. 

Can anyone help with the code I need to add so it links to a specific section of the home page? 

I've attached pictures of the button as well as the section of the homepage which I'd like the link to reach. 

https://helicon-raspberry-6afy.squarespace.com/config/settings

Password LCS123

Thanks in advance!Screenshot2023-05-09at12_22_00.thumb.png.e84a5d17263501eb01487b5ae13a7e84.png

Screenshot 2023-05-09 at 12.22.10.png

Link to comment
  • Replies 4
  • Views 215
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

LCS123

https://helicon-raspberry-6afy.squarespace.com/?noredirect

Add a Code Block here > Paste this code

<span id="subscribe"></span>

image.thumb.png.e9edd31f5be15b5fc9e1f5beabc6aebb.png

Change this button code

<div id="book-me">
  <a href="/new-page-1"> Subscribe to our mailing list </a>
</div>

to this

<div id="book-me">
  <a href="/#subscribe"> Subscribe to our mailing list </a>
</div>

 

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.