How to Make the Table of Contents Block Collapsible

#634514
  • Resolved Spencer
    Rank Math free

    I have added css to the functions.php and the site, but it still not work. I have added the table of contents by rankmath but still don’t see any collapsible, Do you know what i can do?

    I have done as the below:

    The code provided in the context is meant to make the Table of Contents block collapsible. However, it is important to note that the code should be added to the functions.php file of your WordPress theme. If the code is not working, please ensure that you have added it correctly to the functions.php file.

    If you have added the code correctly and it is still not working, it is possible that there may be a conflict with another plugin or theme on your website. In such cases, it is recommended to follow the guide on diagnosing plugin conflicts provided by Rank Math. You can find the guide here.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    You shouldn’t add the additional CSS to your functions.php file. You can add the CSS to your theme’s style.css file on you can add it by using the Additional CSS option in Appearance > Customize.

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

    If the issue still persists, please share the CSS and PHP code with us so that we can check this further for you. You can use a tool like https://pastebin.com/ to share the code with us.

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

    Thank you.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.