• I am new to WordPress and found the theme Pushing Borders by Themelab. I have been going through and editing it to better fit what I want for my site. I have run into a problem with displaying the right and left sidebar with the main body text in the middle.

    http://www.riseoftheinfected.com/

    If you take a look at the site, the two sidebars will squeeze the top portion of the text to fit in between them. But once the sidebars have ended it goes back to its normal sizing. I cannot figure out how to reduce the size of the main body to maintain a constant width regardless of sidebars.

Viewing 1 replies (of 1 total)
  • Checked the CSS of the original theme vs your customization

    #container
    – orginal width is 90% and your width is fixed at 804 – you need to add px after 804 to make it 804px

    #subnav – left sidebar
    – original width is 140px and your width is 220px

    #extras – right sidebar
    – original width is 140px and your width is 220px

    #content
    – original has left and right margins of 160px thereby getting 20px space between #content and both sidebars
    – you didn’t adjust your #content’s margins accordingly when you increased the width of the sidebars
    – Therefore, in your style.css change the margin as follows

    #content {
    border-right:1px solid #CCCCCC;
    color:#666666;
    font-size:0.9em;
    line-height:1.6em;
    margin:0 240px 10px 240px;
    padding:0 20px 0 0;
    }

    804px (your container width) less 480px = 324px for content. If you want to increase the size of your #content space, then increase #container width from 804px to say, 920px e.g.

Viewing 1 replies (of 1 total)

The topic ‘ThemeLab ‘Pushing Borders’ theme help needed.’ is closed to new replies.