Sidebar Removal

  • Author
    Posts
  • #1431965

    How do I remove the sidebar from my website(forever theme)? I’d like to center my blog posts once it is removed.

    The blog I need help with is zeitgeistinheels.com.

    #1432061

    jcasta
    Member

    Try:

    #content {
      margin: 0 auto;
    }

    This will make everything, including pages, be centered. If you only want it to be in the blog then you would go:

    body.blog #content {
      margin: 0 auto;
    }

    #1432068

    It worked thank you so much!

    #1432194

    Hi!

    I’d like to do exactly the same thing : remove my right sidebar in order to enlarge my articles.
    but I don’t understand the answer.
    Where should I write this code?
    My theme is Oxygen.
    Thanks

    #1432197

    justpi
    Member

    @agnesetthibault:
    • Each theme has a different structure, and uses different CSS selectors, so an answer that applies to Forever won’t do for Oxygen.
    • On Oxygen, what you’d like to do is ok for the single post view, but it’s not ok for the homepage or for archive pages, because featured images cannot be enlarged. If you’d settle for one sidebar on the single post view, two sidebars on the homepage, I can show you how to do it.
    • But:
    a) This requires the Custom Design upgrade. Do you have the upgrade?
    b) The chief attraction of Oxygen is its posts slider. Since you aren’t using the slider, and since you don’t want two sidebars, then (even if you do have the upgrade), why don’t you simply switch to a different theme?

    #1432247

    @justpi
    Ok, as I don’t have the Custom Design upgrade, and don’t want to have it, I think I’ll let my blog as it is.
    Thanks for your answer anyway.

    #1432248

    gcomerford
    Member

    Hi, I am trying to do the same for my front page. I have hiden the widgets but would like to center the remaining content.

    any help would be muchly appreciated

    #1432249

    gcomerford
    Member

    the page I am working on is
    http://uncommongrounddance.com

    #1432254

    @gcomerford, I’ve answered at https://en.forums.wordpress.com/topic/help-centering-content?replies=2

    Would you mind not creating duplicate threads like that. It makes support harder to do. :)

The topic ‘Sidebar Removal’ is closed to new replies.