Table of Contents Plus
[resolved] Different settings for different posts - Table of Contents Plus (2 posts)

  1. raymondmah
    Posted 4 years ago #


    I have set the default width for the Table of Contents in the Settings page, which is currently at Width:40% Wrapping:Right

    Can I override the default settings on a particular page? Specifically, I would like the Table of Contents on a particular page to be Width:100%. Can this be done without affecting the settings for the Table of Contents on all other pages?

    Please see: http://mahwengkwai.com/have-you-made-your-will/
    I have currently 'turned off' the Table of Contents of this page until I work this out.



  2. Mike
    Plugin Author

    Posted 4 years ago #

    Hi Raymondmah

    The RSS feed for these support tickets aren't updating quick enough so I apologise for the delay.

    If you use the [toc] shortcode, you can override some default settings as described in the help tab in Settings > TOC+. However, width is not one of them.

    You can however, use custom CSS to do what you want for your specific page. Eg from the link you provided, grab the post ID and do something like:

    #post-321 #toc_container { width: 100%; }

    If you don't have anywhere to put the CSS, download the Custom CSS (sometimes known as SafeCSS) plugin and put it there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Table of Contents Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic