Table of contents – Dimensions and custom colors

#839428
  • Resolved Robin
    Rank Math free

    Hi, Dimensions is not showing up at all so I can’t set the padding etc. and I can’t or don’t see where I can create a custom color for the TOC block that matches my site. I only see set colors but not where I can put a Hex color number.

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

    I’m sorry to hear that you are facing issues with setting dimensions and custom colors for the Table of Contents block in Rank Math. To address your concerns:

    1. Setting Dimensions (Padding):

      • If the dimensions settings are not showing up, you can manually adjust the padding by modifying the CSS code provided in the style.css file. You can adjust the padding values in the CSS code to customize the dimensions according to your preferences.
    2. Custom Color for TOC Block:

      • To set a custom color (Hex color number) for the Table of Contents block, you can modify the CSS code in the style.css file. Look for the CSS properties related to colors such as background, color, etc., and replace the existing color codes with your desired Hex color number.

    If you need further assistance or detailed guidance on customizing the dimensions and colors of the Table of Contents block, please feel free to reply to this ticket. Our support team will be happy to assist you further.

    Thank you for reaching out with your concerns. We are here to help you with any Rank Math-related queries you may have.

    Kind regards,
    Rank Math Support Team

    Sources:
    Why Isn’t Rank Math Detecting the Table of Contents? » Rank Math
    How to Use a Table of Contents to Improve Content Readability » Rank Math
    General Tab in Meta Box of Rank Math SEO Plugin

    Robin
    Rank Math free

    I am not familiar with coding and I saw that you can do that in the here in your video. Mine doesn’t look like that. https://www.youtube.com/watch?v=N2SHiY6pBwg&t=325s

    My plugin is updated too and I tried everything else it also doesn’t have the links options either. Please help.

    Hello,

    Please make sure you’re using the block editor. Here’s a short video:

    We hope this helps you resolve the issue. Don’t hesitate to contact us again with any other questions or concerns regarding Rank Math. We are always happy to help.

    Thank you for choosing Rank Math!

    Robin
    Rank Math free

    Yes that is it BUT where is the dimensions area like in the video you all put together and the links area?

    Hello,

    If you don’t see those options, that means your theme doesn’t include support for it and as such the options don’t show on the TOC settings.

    The theme needs to be compatible with all the features from this WordPress guidelines: https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/

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

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

The ticket ‘Table of contents – Dimensions and custom colors’ is closed to new replies.