Jump to content

How to hide code blocks for anchor links in a page

Recommended Posts

Site URL: https://www.leticialaing.com.au

Hello I have no experience in HTML or anything and I just want some anchor links on one page to the FAQs.

Every time I put a code block in it says "This is where it jumps to" or something like that and honestly why on Earth? It looks awful and it's doing my head in.

I have zero idea how to fix it. So annoying.

Like the instructions to instal anchor links in a page don't mention "Oh by the way you'll have hideous chunks of confusing font throughout your beautiful website if you want to follow these instructions for anchor links in a page." kill me now.

If anyone can spell out to me what I need to do, I'd be so happy to listen.
Thanks
Leticia

Link to comment
  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply

Hi Leticia, 

If you put this into the code block 

<div id = "sectionName">
</div>

changing the sectionName for the id you want to use. These won't display any text on the screen.

Squarespace Developer based in Hampshire, England

If you'd like to make a contribution for my time you can Buy Me A Coffee.

Reach out for Custom Coding - abibacon.com

Developer & Support Specialist at will-myers.com (Affiliate Link)

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.