Anchor on Heading block

More
7 years 9 months ago #50954 by Remko74
Hi,
Is it possible to place an anchor on a heading block, so I can link to a certain part of an article? If not it can be a suggestion for a future update.
Regards,
Remko

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #50955 by ced1870
Replied by ced1870 on topic Anchor on Heading block
Hi
you can scroll to any element in your page by using its ID and using Scroll To CK
www.joomlack.fr/en/joomla-extensions/scroll-to-ck

CEd

Joomlack Webmaster and Developer
Last edit: 7 years 9 months ago by ced1870.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #50961 by Remko74
Replied by Remko74 on topic Anchor on Heading block
Hi,

Where can I find the ID of a certain block in an article?
I've made an article with Page Builder CK which contains:
- Row with H2 block and a H3 block
- Row with 3 columns with images
- Row with H3 block
- Row with 1 image
- Row with H3 block
- Row with 1 image

I like to create links to every H3 block.
In the past I had one article where I could create an anchor everywhere in the article, but I can not set any links to the Heading blocks in Page Builder CK and I can not find any ID numbers in Page Builder CK....

Remko

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #50962 by ced1870
Replied by ced1870 on topic Anchor on Heading block
to find an ID you can use your browser console, or click on the "3" according to this doc
www.joomlack.fr/documentation/page-build...n-interface-overview

it enables the HTML/CSS edition and you can find and edit the ID. Just take care that your ID must be different also between all your articles

You can also still create a simple anchor using a text block with the standard editor

Joomlack Webmaster and Developer
The following user(s) said Thank You: Remko74

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #50964 by Remko74
Replied by Remko74 on topic Anchor on Heading block
Great! Thanks! It works...

Please Log in or Create an account to join the conversation.

More
7 months 1 week ago - 7 months 1 week ago #76333 by agnoletti
Replied by agnoletti on topic Anchor on Heading block
I can even add the following step-by-step instructions:

To activate the "scroll to" feature, you must first identify and, if desired, customize the anchor’s name, which is the destination point.
In the PageBuilder CK editor, click the circle "1" to activate the display/setting of the ID and CLASS.
You can customize the code written in the ID field (box "2"), which will then need to be referenced by prefixing it with the hashtag "#" to indicate that it's an anchor, as shown in points "3" and "4".

SEE ATTACHED IMAGE FOR CLARIFICATION.
Last edit: 7 months 1 week ago by agnoletti.

Please Log in or Create an account to join the conversation.

Time to create page: 0.262 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 693 guests and no members online