Support » Plugin: Easy Table of Contents » Feature Request: Allow transparent background when using custom colors.

  • Resolved TheGuy

    (@little33)


    My theme has both light and dark mode. Using the transparent feature allows the background to adjust to the theme.

    Unfortunately, there is no way to both set a transparent background and use my custom colors for links.

    Requesting a check box to enable transparancy under Settings >> Custom Theme >> Background Color

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Added to the request list, thanks.

    Thread Starter TheGuy

    (@little33)

    Sorry to bump up an old post. But can I just achieve this will css?
    For example, if I set it to custom to get all my colours right, then apply css to make the background transparent?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Yes, I do not see any reason why you could not use your own custom CSS to apply colors or transparency. You may have to use the !important flag in your CSS for it to apply.

    Thread Starter TheGuy

    (@little33)

    AWesome.

    Anyone in the forum know css?

    lol

    if not, I will check fiverr. Will post here for others

    • This reply was modified 2 months, 3 weeks ago by TheGuy.
    Plugin Author Steven

    (@shazahm1hotmailcom)

    div#ez-toc-container {
    	/* background: transparent !important; */
    }
    Thread Starter TheGuy

    (@little33)

    Thank you so much. I actually could not get it to work. I f12’d the page and could see the code there but it was crossed out. After some playing around I got it working with

    #ez-toc-container {
    	background: transparent !important;
    } 

    Hope that doesn’t break anything.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Ops! I accidentally left in the /* and '*/. Those make the statement a comment, and comments are not style declarations. Sorry about that!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.