Jump to content

Anchor Link to Block

Recommended Posts

Posted

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!

  • Replies 4
  • Views 803
  • Created
  • Last Reply
Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.