HOWTO: Insert anchor tag?

I feel dumb for even asking. I want to insert the following:

<a name="contact">

Or is there a Bricks way of doing what I want. In my page header, I have a link to <a href="#contact">. Then in the page footer, I want an anchor tag so that the link works.

As always, thank you kindly in advance. :slight_smile:

Hi,
Bricks can do this with a CSS ID as you’d usually do in vanilla HTML too :slightly_smiling_face:

  1. Select the section or container that you want the link to jump to (in your case the section or the container of your footer).
  2. Under Style → CSS, set CSS ID to contact (without the #).
  3. Set your link’s custom URL to #contact.

Save and test on the frontend. Make sure contact is used as an ID only once per page. If the link should target a specific page from elsewhere on the site, use that page’s full URL followed by #contact.

Bricks documents custom CSS IDs as anchor targets here: Page Settings | Bricks Academy

Thank you so much! That worked!