SIGHT theme: right side bar

  • Author
    Posts
  • #1125239

    mskellyxiong
    Member

    Hello!

    Does anyone know how to get rid of the RIGHT side bar on pages/blog entries? For example, if you go to my site and click on ABOUT, SHOP, UPCLOSE, or OUTFIT – it shows the right bar. Same goes with my blog entries.

    I know that in some theme you can edit this through the dash board but for this theme I can’t do that.

    Can anyone please help me? I would like to start adding stuff to my pages asap as soon as this is fixed =)

    Thank you!

    Kelly

    The blog I need help with is scarletstemper.com.

    #1125552

    mskellyxiong
    Member

    Anyone?

    #1125554

    justpi
    Member

    I know that in some theme you can edit this through the dash board but for this theme I can’t do that.

    That’s correct. There’s no such option in Sight.

    #1125571

    mskellyxiong
    Member

    Anyone else?

    #1125572

    justpi
    Member

    Oh, sorry – I hadn’t noticed this is a CSS question.
    If you mean no sidebar on the single post view, no sidebar on static pages, and no sidebar on category/archive pages, paste this in the CSS editor:

    body.single #secondary, body.page #secondary, body.archive #secondary {
        display: none;
    }
    body.page .site-content, body.archive .site-content {
        width: 100%;
    }
    body.single .site-content {
        width: 97%;
    }

    #1125573

    mskellyxiong
    Member

    Thank you so much! You are the best =)

    #1125574

    justpi
    Member

    You’re welcome.

    Note: I suggested a solution with multiple selectors (so you could remove one of them) because I wasn’t sure if by “pages” you meant static pages or dynamic pages or both. If you really mean no sidebar anywhere except the home page, you can also do it literally like that. Instead of the first two lines above you could use this:

    #secondary {
        display: none;
    }
    body.home #secondary {
        display: block;
    }

The topic ‘SIGHT theme: right side bar’ is closed to new replies.