Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    div#sidebar {
        display: none;
    }
    .site-main {
         width:100%;
    }

    To add CSS: If you are using WordPress 4.7, use the “Custom CSS” option in the customizer. If your theme has a custom CSS option, use that to add the CSS shown above. If not, install the plugin Simple Custom CSS. Or, if you have Jetpack installed, enable its Custom CSS module.

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

    Thread Starter obane

    (@obane)

    It worked! Thank you so, so much! One other question: do you know how I can hide the two recent post excerpts that show up in the footer at the very bottom?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I assume that’s either a theme option or under appearance->widgets.

    The developers and users of that theme would be the best people to ask. You can reach them here:

    https://ww.wp.xz.cn/themes/skt-girlie-lite/#new-post

    Thread Starter obane

    (@obane)

    Thank you! I can’t figure out a way to do it in the footer widget settings area. Just posted that forum. I appreciate your help!

    anonymized-14765447

    (@anonymized-14765447)

    Hey there!
    I can help you with this thing. There is no way to nicely ‘turn off’ footer widgets in theme options, so you need to edit the ‘footer.php’ file and comment some code to get it done. Here is an example: https://pastebin.com/pnVchULN

    Shariq Khan

    (@shariqkhan2012)

    Just hide it using custom CSS:

    #footer-wrapper > .container {
        display: none;
    }
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to hide sidebar using CSS?’ is closed to new replies.