Blog Margins

  • Unknown's avatar

    Hello,
    I need some help with setting my blog margins.
    as you can see my oxygen theme website has pretty prominent sidebars, but I would like for the blog posts (once they are clicked on individually for the full read) to be spread on the whole age instead of a tiny column with all the distracting widgets nearby.

    I somehow messed around with blog post “Getting to the Osa” and for some reason that post shows without the widgets, but I can’t figure out what I did in HTML code text to do that.

    Any help would be appreciated.

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I suspect that you might have a stray div tag or other HTML error in that post. See the HTML Troubleshooting support page.

  • Unknown's avatar

    …I would like for the blog posts (once they are clicked on individually for the full read) to be spread on the whole age instead of a tiny column with all the distracting widgets nearby.

    According to the Quick Specs section of the Oxygen theme guide

    The main column width is 470 except in the full-width layout where it’s 940

    .
    So posts are 470 pixels wide, and static page are 470 or 940 depending upon the template chosen. Expanding the width of a post column would required CSS customization.

  • Unknown's avatar

    Hi there, the following removes the sidebars and widens the content to full width. Given the width of the overall theme though, this makes the content wider than is typically suggested for reading of text. Generally 500px to 650px is considered a good width for reading. With it full width, the text is going to be 940px wide.

    .single #secondary, .single #tertiary {
        display: none;
    }
    .single #content {
        margin-left: 0;
        margin-right: 0;
    }
  • Unknown's avatar

    Thank you “thesacredpath”

    I tried it, but don’t see a change?

    I am also dying to center my logo and have tried several codes but nothing seems to work.

    Any leads?

    Thanks!

  • Unknown's avatar

    Ah actually it worked! THANK YOU SO MUCH!!

  • Unknown's avatar

    Super, and you are welcome. :)

  • Unknown's avatar

    I was wondering if you could help me out have similar margins as the blog to my Quotes Pages?
    Also do you have a code for centering my logo and top menu bar?

    Thanks so much! <3

  • For centering the menu:

    .main-navigation {
    text-align: center;
    width: 100%;
    }
    
    .main-navigation ul {
    display: inline-block;
    }
  • To center the logo:

    #masthead .site-logo {
        display: block;
        margin: 0 auto 20px;
    }
  • I was wondering if you could help me out have similar margins as the blog to my Quotes Pages?

    I’m not quite clear on what you want to do here. Could you provide links to example pages and explain exactly what margins you’re trying to change and how?

    Also, if you have new questions beyond the ones already in this thread, could you please start a new thread rather than continuing to add to this one? Thanks!

  • Unknown's avatar

    You are the best! Thank you so much. The first two codes totally worked. Ok sorry I will post on separate thread. I am sort of new to this so I didn’t know what was the protocol

  • Glad that did the trick, you’re very welcome!

  • The topic ‘Blog Margins’ is closed to new replies.