Forums

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

Home Forums CSS align theme to the left

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #29575
    betzy
    Participant

    hello guys, i`ve found e perfect wordpress theme for me but i want to do some changes and i don`t know how, first i want to align the theme to the left of my browser and then to try the tutorial i`ve found here about static sidebar so … can anybody tell me how to align the theme to the left ??/ btw the theme is this one http://www.morewordpress.com/themes/no- … omment-353

    #79405
    zubak
    Member

    in your style.css find this

    Code:
    .Sheet {
    margin:0 auto;
    min-height:41px;
    min-width:41px;
    overflow:hidden;
    position:relative;
    width:800px;
    z-index:0;
    }

    and replace it with this

    Code:
    .Sheet {
    min-height:41px;
    min-width:41px;
    overflow:hidden;
    position:relative;
    width:800px;
    z-index:0;
    }
    #79407
    betzy
    Participant

    it took me a while to get it …. find what ?? .. :)))) but now everything it`s ok …. 10q 10q 10q :ugeek:

    PS. 10x for the quick reply

    #79410
    betzy
    Participant

    ok any sugestions for the no scroll side bar without the jQuery only with css

    #79450

    No Need of giving padding and margin, just delete the margin code from the css. The margin:0 auto; css if used for align the wrapper width in the center, So Please delete the css code and try out the new css that i have given below as After. I hope this will help for you ;)

    Before :

    Sheet {
    margin:0 auto;
    min-height:41px;
    min-width:41px;
    overflow:hidden;
    position:relative;
    width:800px;
    z-index:0;
    }

    After :

    Sheet {
    min-height:41px;
    min-width:41px;
    overflow:hidden;
    position:relative;
    width:800px;
    z-index:0;
    }

    #79428
    zubak
    Member

    use tihs for your static sidebar thing

    Code:
    position: fixed;

    make your dvi align it to whatever site you want and add to your css position: fixed;

    #79471
    betzy
    Participant

    ok, everithing is align to the left .. cool but when i did this :
    before

    Code:
    .contentLayout .sidebar1
    {
    position: relative;
    margin:0;
    padding:0;
    border:0;
    float: left;
    overflow: hidden;
    width: 20%;
    }

    after

    Code:
    .contentLayout .sidebar1
    {
    position: fixed;
    margin:0;
    padding:0;
    border:0;
    float: left;
    overflow: hidden;
    width: 20%;
    }

    the sidebar disappered :((((

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