• Resolved burakbbb

    (@burakbbb)


    Hello everyone,

    I just set up wordpress on my localhost and installed k2 theme and when i activate it, the theme is not centered and it is on the left. what could be the problem? I have not touched any of the codes or wordpress files yet.

    below is the theme code. can anyone suggest how i can center the whole theme. it is K2 rc 7 version. thank you.

    ml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin:0;
    padding:0;
    }
    body {
    font-family:"Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif;
    }
    strong, em, b, i {
    font-family:"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif;
    }
    h1, h2, h3, h4, h5, h6 {
    font-family:"Trebuchet MS",Verdana,sans-serif;
    }
    .comments input[type="text"], .comments textarea, code {
    font-family:Monaco,"Courier New",Courier,monospace;
    }
    body {
    background:#EEEEEE none repeat scroll 0 0;
    color:#444444;
    font-size:62.5%;
    text-align:center;
    }
    body.lang-ar, body.lang-fa, body.lang-he, body.lang-hi, body.lang-km, body.lang-ko, body.lang-ja, body.lang-th, body.lang-zh {
    font-size:75%;
    }
    #page {
    background:white none repeat scroll 0 0;
    border-color:-moz-use-text-color #DDDDDD #DDDDDD;
    border-style:none solid solid;
    border-width:medium 1px 1px;
    clear:both;
    margin:0 auto;
    padding-top:20px;
    position:relative;
    text-align:left;
    }
    .columns-one #page {
    width:560px;
    }
    .columns-two #page {
    width:780px;
    }
    .columns-three #page {
    width:950px;
    }
    #header {
    background:#3371A3 none repeat scroll right top;
    height:200px;
    position:relative;
    }
    .content {
    padding:0 20px 10px;
    }
    body.columns-two #primary-wrapper {
    float:left;
    margin-right:-220px;
    width:100%;
    }
    body.columns-two #primary {
    margin-right:220px;
    }
    body.columns-two .secondary {
    float:right;
    }
    #primary {
    float:left;
    padding:10px;
    position:relative;
    width:500px;
    }
    * html #primary {
    display:inline;
    }
    .columns-one .secondary {
    border-top:1px solid #EEEEEE;
    width:240px;
    }
    .columns-three .secondary {
    width:175px;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘K2 theme is not centered’ is closed to new replies.