Sidebar width

  • Posted in : Responsy WP
  • mikeschluter
    Participant

    Hi,

    How do i change the sidebar width?

    Thanks in advance! Again :)

    Gr.

    Mike

    ahmetsali
    Keymaster

    Hi, do you want to increase the sidebar width or decrease?

    mikeschluter
    Participant

    Decrease please, smaller :)

    ahmetsali
    Keymaster

    You can do this with changing columns classes with jquery;

    try adding the code below to the External JavaScript/CSS box under Theme Settings > Style tab.

    <script>
    jQuery(document).ready(function($) {
        $('.content.span8').removeClass('span8').addClass('span9');
        $('#sidebar.span4').removeClass('span4').addClass('span3');
        $('.post-list .post .media-box + .span5').removeClass('span5').addClass('span6');
        $('.post-list .post > .span8').removeClass('span8').addClass('span9');
    });
    </script>
    
    mikeschluter
    Participant

    Okay.. that works

    Do you have an width that can contain a 300px banner width banner?
    This is too small; hahaha

    Thanks in advance!

    ahmetsali
    Keymaster

    since we are using responsive grid in bootstrap, either you will use 4 column for sidebar (default) or 3 column (as i described above), there is no 3.5 column in this grid system; hahaha :)

    Thanks.

    mikeschluter
    Participant

    okay okay my bad :)
    Thanks for the info! Gonna use skyscraper banner instead of square :)

    Thanks

    keithpa
    Participant

    What is the default width of the sidebar?

    ahmetsali
    Keymaster

    @keithpa

    sidebar width is 370px, and content in sidebar width is 340px.

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Responsy WP’ is closed to new topics and replies.