Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Fluid layout with fixed column on right

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43919
    chengas123
    Member

    I bought a [responsive WordPress theme](http://themes.okaythemes.com/fixed/) and am trying to customize it so that the sidebar is on the right instead of left. However, after changing the floats from left to right, when you shrink the screen, the main content no longer shrinks. Can you offer any suggestions on how I might fix [my blog](http://www.benmccann.com/dev-blog/) to be fluid?

    #130847
    Excavator
    Member

    Hello chengas123,
    Your #wrapper is working fine till you put that fixed width pre in it, although that padding should actually be margin.

    Give this a look –

    #wrapper {
    -moz-box-sizing: border-box;
    float: right;
    max-width: 1500px;
    margin: 75px 350px 0 75px;
    position: relative;
    }
    .post-content pre {width: 100px;}

    #130849
    wolfcry911
    Participant

    remove the float from the header and the #wrapper

    #130893
    chengas123
    Member

    awesome. thanks for the help guys!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.