Table of contents not working correctly

#1051399
  • Resolved Nguyen Huynh
    Rank Math free

    when i click on a title in the ‘table of contents’ it takes me to the content below the title and I don’t see the title I clicked on.

    I want when the user clicks on a title in the ‘table of contents’ it scrolls right to the title, so the user can read the title and then continue reading the content

    I hope you can help me fix this problem, thank you in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issue you are facing with the Table of Contents not functioning as expected. It sounds like the scrolling behavior is not aligning with your needs, where the title should be visible when clicked.

    To address this, please ensure that your headings are properly set up in your content. If the headings are excluded or not formatted correctly, it may affect how the Table of Contents interacts with them. You can check the settings of the Table of Contents block to confirm that no headings are excluded from appearing.

    If you continue to experience this issue, we recommend replying to your ticket with your site URL so that a human agent from our support team can assist you further. They will be able to provide more specific guidance based on your setup.

    Thank you for raising this concern, and we look forward to helping you resolve it!

    Sources:
    How to Add Rank Math’s Table of Contents Block » Rank Math

    Hello,

    Could you please share the affected URL so we can check the issue?

    You can add it to the sensitive data section by editing your first post

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    This is an issue with your website design, not with Rank Math Table of Contents. You can use the following custom CSS on your website to fix this:

    .wp-block-heading{
    padding-top: 50px !important;
    }
    

    Here’s a guide you can follow to add this custom CSS to your site:
    https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/

    Or, you can get in touch with your theme support, as they are in a better position to assist you with this issue.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Table of contents not working correctly’ is closed to new replies.