Jump to content

Anchor Link to Block

Recommended Posts

Hi! Is there any CSS to create an anchor link to a specific block within a section? Not to a section in that page; I have a lot of blocks in one sections and wanted to create an index that can link to the specific block it refers to rather than a different section. Thanks!

Link to comment
  • Replies 4
  • Views 677
  • Created
  • Last Reply
1 hour ago, manumuniz said:

Hi! Is there any CSS to create an anchor link to a specific block within a section? Not to a section in that page; I have a lot of blocks in one sections and wanted to create an index that can link to the specific block it refers to rather than a different section. Thanks!

Use this tool to get block id and change the anchor link accordingly

Squarespace ID Finder - Chrome Web Store (google.com)

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
1 hour ago, manumuniz said:

@bangank36 But what CSS should I use then? I've already tried the anchor link one but maybe I got the exact wording wrong.

According to this guide, you should get the block id and replace the unique-id text (remember to remove the # in the found id)

Creating anchor links – Squarespace Help

image.thumb.png.83cc21732a31602377e535946ff3a8f6.png

image.thumb.png.259dee5037dc129cbee4982c8d98360f.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

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