• Resolved Ritesh Nishar

    (@riteshnishar)


    Hello,
    How to increase the width of the right sidebar of twentyeleven child theme?I want to change it to 300 px so that facebook like box fits into it.
    Thanks in advance for your help.Waiting for the reply!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi riteshnishar,

    I took a look at this for you with the Firebug extension in Firefox. I found that the width of the sidebar is controlled by this id selector in the style sheet:

    #secondary

    You may also need to adjust the width of this id selector in the style sheet as well to allow for the sidebar to be that wide:

    #primary

    Hope this helps!

    Thread Starter Ritesh Nishar

    (@riteshnishar)

    some one told me to change this:

    #primary {
    float: left;
    margin: 0 -29.4% 0 0;
    width: 100%;
    }
    
    #secondary {
    float: left;
    margin-right: 0.6%;
    width: 300px;
    }

    but its not working !

    Hi riteshnishar,

    You will want to reduce the width of primary. Try this in your style sheet:

    #primary {
    float: left;
    margin: 0 -29.4% 0 0;
    width: 90%;
    }

    #secondary {
    float: left;
    width: 300px;
    }

    Hope this helps!

    Thread Starter Ritesh Nishar

    (@riteshnishar)

    oops not working!..you may check my site here https://www.kutchtheheaven.info/

    Thread Starter Ritesh Nishar

    (@riteshnishar)

    thanks it worked without changing the primary width.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to increase the right side bar width of 2011 child theme?’ is closed to new replies.