WordPress.org

Forums

[resolved] How to eliminate sidebar in posts (8 posts)

  1. anaeditor
    Member
    Posted 4 years ago #

    I am trying to setup my theme (FLEX) so that the sidebar doesn´t appear in posts as it is empty and looks bad. How can I do this?
    I´ve included a link to one of our blog entries so that you can see what i´m refering to. http://blog.prinagroup.com/?p=163

  2. Joni
    Member
    Posted 4 years ago #

    Check your theme options. I viewed the source code and found this comment:
    <!-- CHECK FOR REMOVE_SIDEBAR CUSTOM FIELD -->

    So this leads me to believe the theme author has provided for single column content.

    The other thing you can do is go into the core.css file and add this somewhere at the top:

    #right_links {
        display: none;
    }

    God do I hate other people's code. That code is a mess; there's no reason to have a gazillion stylesheets going on there. It makes simple things like this so hard to change. Anyway, HTH.

  3. anaeditor
    Member
    Posted 4 years ago #

    Thank you. I´ll try that.

  4. anaeditor
    Member
    Posted 4 years ago #

    I tried it, but didn´t work. Any other suggestions?
    Thanks

  5. Joni
    Member
    Posted 4 years ago #

    Aack! {{slaps forehead}} I was looking at the wrong thing. Try this:

    #sidebar {display: none !important; }

    Then you may want to widen the main content area, but let's try this first.

  6. anaeditor
    Member
    Posted 4 years ago #

    It worked! :) Thank you for your help.

  7. Joni
    Member
    Posted 4 years ago #

    So I see! Glad to help. Sorry I didn't point you in the right direction the first time!

  8. rhianne
    Member
    Posted 4 years ago #

    Hi, I am new to all of this, but want to leave the sidebar on my home page of yamidoo magazine and remove it from certain pages , does anyone know how I can do that?
    I really need step by step as I am a novice

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.