Site logo

Archived topic

Hiding Table of Contents On Mobile

11 replies · Started by Mark on July 9, 2019

Viewing posts 1–12 of 12

I cannot get my TOC plugin to format well on mobile Is there a quick CSS I can use to hide it?

Ok, I was trying to do it globally across the site.

Where can I find one in your site?

Each post has one on the 2nd paragraph. You'll see on mobile that formating doesn't look great when expanded.

Hmm I wonder if this would work:

@media (max-width: 768px) {
    .lwptoc{
        display: none !important;
    }
}

Nope, that didn't do it.

Is this what you are referring to?
https://www.screencast.com/t/gbFFdr7RTeVR

If so the code should work but I'm not seeing the CSS being added.

Make sure to clear all caching plugins including Autopimize?

No, I'm referring to the "Article Contents" box at the top of the page. It's the LuckyWP Table of Contents plugin.

It didn't work but I think I found a workaround. Thanks

Awesome :)

This archived topic is closed to new replies.