Site logo

Archived topic

Anchor in headline

3 replies · Started by Diego Santiago on December 1, 2022

Viewing posts 1–4 of 4

Hi there!

I am trying to create an anchor in a H2 title but I don't know how to include the code.

This is the html of the H2 <h2 class="gb-headline gb-headline-27f9af6f gb-headline-text"> <strong>GUÍAS BRÚJULA</strong></h2>

And this is the id I want to include: id="guias"

Thanks!

Hi there,

select the Headline block ( in visual editor ). Then in Advanced panel in the sidebar you will see a field for HTML Anchor field. That is the id attribute. Add your anchor in there.

Note that field is a core WP field, so its there for the majority of blocks.

It works, thank you!

Glad to hear that!

This archived topic is closed to new replies.