• Witam, mam taki problem che ustawić ręcznie szerokości bocznych paneli.

    Tak aby lewy miał 180 pix szerokości

    Oraz prawy aby miał szerokość 260 pix

    Jest koś w stanie pomóc?

    Kod z CSS:

    body.sidebar-left  #footer {
    margin-left: -210px;
    }
    /* So we move the #center container over the sidebars to compensate */
    body.sidebar-left #center {
    margin-left: -210px;
    }
    /* And add blanks left and right for the sidebars to fill */
    body.sidebar-left #squeeze {
    margin-left: 210px;
    }
    body.sidebar-right #center {
    margin-right: -210px;
    }
    body.sidebar-right #footer {
    margin-right: -210px;
    }
    body.sidebar-right #squeeze {
    margin-right: 210px;
    }
    body.sidebars #center {
    margin: 0 -210px;
    }
    body.sidebars #footer {
    margin: 0 -210px;
    }
    body.sidebars #squeeze {
    margin: 0 210px;
    }
    
    #wrapper #container .sidebar {
    float: left;
    margin: 60px 0 5em;
    width: 208px;
    z-index: 2;
    }
    body > #wrapper #container .sidebar {
    position: relative;
    }
    #sidebar-left li {
    margin-right: 10px;
    text-align: left;
    }
    #sidebar-right ul {
    margin-left: 20px;
    text-align: left;
    }
    #sidebar-right li ul {
    margin-left: 0;
    }
    .sidebar ul {
    margin-left: 0;
    padding: 0;
    text-align: left;
    }
Zobacz 1 odpowiedź (z 1 wszystkich)
Zobacz 1 odpowiedź (z 1 wszystkich)

Temat ‘Dostosowanie szerokości sidebar’ jest zamknięty na nowe odpowiedzi.