How to add background color to Rank Math’s Table of contents block?

We are here discussion on custom background color to make table of contents look different from other blocks. Some themes may mix all those paragraphs and the table of contents does not appear distinct form the next block/paragraph.

So here we will just apply WordPress CSS to make it look beautiful. Just a background color here, you can even use line break or custom CSS class to apply on whole contents.

How to add background color?

  • Open your post and then the section where the rank math’s table of contents appears.
  • Now you will have to click on Block tab appears on right side bar.
  • Click on Style icon.
  • Now you can select predefined colors or add your own.

Short video here

Comments

Leave a Reply

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.