Table of Contents issue – Color and Spacing

#987042
  • Robin
    Rank Math free

    Please take a look at this Loom below.
    * Why are the colors off and the preview isn’t reflecting what I see?
    * Thespacing is totally off on the margins?
    * How do I save and reuse what I created so the colors etc. are the same?

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

    We apologize for the issues you are facing with the Table of Contents colors and spacing.

    Colors Not Reflecting in Preview

    If the colors are not appearing as expected in the preview, it could be due to your theme not supporting certain features. You can try using the default themes or contact your theme developer for assistance. Additionally, ensure that you have set the colors correctly in the Styles tab. Here’s how you can set the colors:

    1. Text Color: You can select from your theme colors or add a specific color or gradient.
      Add text color

    2. Background Color: Similar to text color, you can customize the background color.
      Change background color

    3. Link Color: Set the link color in the Link section.
      Set the color of the link

    Spacing Issues

    For spacing issues with margins and padding, you can adjust these settings in the Styles tab as well. Here’s how:

    1. Click on the three dots to access dimension settings.
      Dimension settings

    2. Adjust the padding and margin as needed.
      Set Dimensions

    3. You can also set specific values for padding and margins by clicking the slider icon.
      set custom dimensions

    Saving and Reusing Your Table of Contents

    To save your customized Table of Contents as a Reusable Block:

    1. Select the Table of Contents and click on Create pattern/reusable block.
      Create Reusable TOC Block
    2. Add a name to your Reusable block and click on Create.
      Add a name to Reusable block

    This way, you can reuse your Table of Contents block in other posts and pages while maintaining the same styles.

    If you continue to experience issues, please reply to this ticket with your site URL so we can assist you further. Thank you for raising these concerns!

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

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Robin
    Rank Math free

    Still have an issue

    1) I don’t see create a reuseable block
    2) I don’t see the margin setting

    Hello,

    That means your theme doesn’t include support for it, and as such, the options don’t show up in the TOC settings.

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

    Looking forward to helping you.

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

You must be logged in to reply to this ticket.