-
AuthorPosts
-
March 8, 2024 at 11:30 pm #1436777
Hi Enfold Friends
I have 2 questions:
1. On some pages, including https://hangardoors.aero/rolling-hangar-door-configurations we use the Enfold Table of Contents widget. This automatically creates the table of content based on the H2 and H3 headings on the page. If you click on items in the table of contents, it scrolls down to the section beautifully.Problem: We would like to share links directly to those sections of the page. If you copy the link for any of the table of contents items (i.e., “1 Group of Leaves” (link: https://hangardoors.aero/rolling-hangar-door-configurations#1-group-of-leaves) , that link only takes you to the top of the page rather than the specific scrolled part of the page.
I manually did a workaround by adding red lines and links to those, but maybe you have a better solution for me? https://hangardoors.aero/rolling-hangar-door-configurations/#floating-configuration works but is a separately created link, not copied from the table of contents.
Also question Nr 2 the red circles in the table of content only appear when I am logged in on that page. on others they are there. wonder what could be wrong there.
Thanks so much for your help.March 10, 2024 at 12:01 am #1436846Hey Tina,
Thanks for your patience and the link to your site, please note that IDs can not begin with a number, so your link #1-group-of-leaves is invalid for a browser loading the page, it works for the TOC after the page is loaded because of the TOC javascript, but when you land from another page the TOC script is not fired.
For example this TOC link on the same page works on page load: https://hangardoors.aero/rolling-hangar-door-configurations#unidirectional-door-configuration
So try to not start you title with a number or use a word number like “one”Best regards,
MikeMarch 10, 2024 at 2:34 pm #1436874Hi,
@webdesignphx sorry I closed this thread in error because someone with a similar user name lead me to believe this was solved, I have re-opened it and hope to hear that your issue is now solved so we can properly close :)Best regards,
MikeMarch 12, 2024 at 4:57 pm #1437065Hi Mike
Thanks so much for helping me with this. It works!
TinaMarch 12, 2024 at 5:12 pm #1437069Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Links to Items in the Enfold Table of Contents widget’ is closed to new replies.