Support » Fixing WordPress » Sidebar witdh

  • Resolved imdooren

    (@imdooren)


    Hi, trying to edit the sidebar width so it’s almost sized full screen.
    Can’t get it work at my main page: fincaagricola.com

    Any help is appreciated thanks.

    Thought I had to edit the following CSS rules:

    #wrapper  { background: #fff; }
    
    #main{width:633px;}
    #main.col-full, .layout-full #main, .col-full, #main.fullwidth {width: 960px; margin:0 auto;}
    
    #sidebar{width:300px;}
    #sidebar .secondary { width:140px; } 
    
    .col-left { float: left; }
    .col-right { float: right; }
    
    .layout-right-content #main { float:right; }
    .layout-right-content #sidebar { float:left; }
Viewing 2 replies - 1 through 2 (of 2 total)
  • a bit unusual 😉

    assuming that this is only for the frontpage:
    try and add this to custom.css of your theme:

    .home #main { width: 0px; }
    .home #sidebar { width: 100%; }

    for ‘almost’ reduce the 100% …
    (not widely tested; only checked in firefox.)

    Thread Starter imdooren

    (@imdooren)

    Worked, thanks so much alchymyth!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar witdh’ is closed to new replies.