• I’m messing around with the css to make a new sidebar on the left (in addition to the one on the right), but the float: left; isn’t working right. It floats the new sidebar on the left, the content in the center, and then the old sidebar with float: right; on the bottom below all the text. Can someone give me some help as to how to float both sidebars properly?
    Here’s what I have so far:

    Right sidebar

    #sidebar {
    width:25%;
    float:right;
    padding:0 0 0 15px;
    color:#000000;
    line-height:1.5em;
    margin:0 0 16px 0;
    overflow:hidden;
    border-right-width: 12px;
    border-left-width: 1px;
    border-right-style: solid;
    border-left-style: solid;
    border-right-color: #fff;
    border-left-color: #333333;
    }

    Now left sidebar

    #sidebar2 {
    width:25%;
    float:left;
    line-height:1.5em;
    overflow:hidden;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #333333;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you don’t know CSS well, then you’d be better off to look for a 3 column theme:
    https://themes.wordpress.net
    It is never as simple as you think! And don’t post any more “sidebar” code – the problem is not there.
    And for future reference: don’t ask display, design related questions without a link and specifying what theme are you talking about.

    Thread Starter joeyjoejoe

    (@joeyjoejoe)

    ok, my apologies. I’m using the “ism” theme by headsetoptions.org. You can view my site at https://www.cwnutimes.com. Any help making this second sidebar would be much appreciated by the people of China.

    I am saying again: if your CSS skills are not at the level to understand why 25%+25%+60% will not work… then look for a 3 column theme.

    Thread Starter joeyjoejoe

    (@joeyjoejoe)

    I never had 25-60-25. I changed that a long time ago. Can someone just tell me how to clear the center content by both the left and right sidebars?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘css for new sidebar’ is closed to new replies.