How to Add Rank Math’s Table of Contents Block?

#539931
  • Resolved Ashish Neupane
    Rank Math free

    How to Add Rank Math’s Table of Contents Block?

    Hey I am using Rank Math and want to add a table of content and customize that, but I am unable to change the link color, there is only text and background. I am using the Generatepress Premium theme. How can I solve this? I go through the link provided in the article for this issue, but I don’t know where to add that code. Can you help me with this?

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    When that happens it means that the theme you are currently using doesn’t include support for this feature from the WordPress guidelines: https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/

    ​​​​​​​You would need to get in touch with your theme provider to update their code and include support for that.

    Don’t hesitate to get in touch if you have any other questions.

    Thank you

    This is the code that the article about adding toc was referring for the problem like I am facing,
    {
    “version”: 1,
    “settings”: {
    “color”: {
    “link”: true
    }
    }
    }

    I am using GeneratePress Premium, I found the theme.json file in my cpanel, can you please help me how to add this code

    Hello,

    In that case, you may need to get in touch with your theme provider as they are in a better position to apply those on your site.

    This way, you can avoid unexpected issues and properly place the code in their files.

    Let us know how this goes.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘How to Add Rank Math’s Table of Contents Block?’ is closed to new replies.