• I want to change the width of the margins on either side of the main content in my Default Theme – the one by Michael Heilemann – I think this is known as the “Kubrick” theme.

    I’m not trying to change the overall width of the theme or the relative size of the sidebar vs the main content. I just want to change the left and right margins around that content, in other words the whitespace on either side of the content.

    Where in the CSS is this set? Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you post a URL to your page I will help you with this.

    Thread Starter plnelson

    (@plnelson)

    My question is really about the style.css for that theme in general, rather than about a particular page. Here’s a page I have that uses it . . .
    https://blog.nelsondev.net/

    hi – that helps

    on that page, the left margin is padding coming from this in style.css
    line 501 It’s the 45px at the end of the padding line that sets the left margin

    .narrowcolumn {
        float: left;
        margin: 0 0 0;
        padding: 0 0 20px 45px;
        width: 450px;
    }

    and the width line in the same CSS sets the right margin. if you want it narrower, change to 440px, wider change to 460px, etc.

    Thread Starter plnelson

    (@plnelson)

    Thanks!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘What sets margin width for Default Theme content?’ is closed to new replies.