Support » Theme: Bootstrap Basic » Sidebar right appears at bottom of content

  • Resolved touto



    I’m trying to add a second menu on one page on the right hand side. When I create a custom menu and add it to a custom sidebar (under Widgets), it always appears at the bottom or below the main content rather than on the right.

    The main column seems to choose md-9 automatically even with not much content in it. This pushes the sidebar to the bottom. When I change it to say md-6 in the html inspector on my browser, the sidebar will happily sit on the right.

    How can I make it choose a more sensible width for this one particular page where I want a sidebar to be on the right hand side?


Viewing 2 replies - 1 through 2 (of 2 total)
  • I looked through the other support threads here and found the solution, it’s in inc/template-functions.php

    I changed $main_column_size from 9 to 8:

    // if only one sidebar actived.
    $main_column_size = 8;

    And in sidebar-right.php, I changed the column size to col-md-4.

    As I’m working with a child theme, I added the following to my functions.php

    require get_stylesheet_directory() . ‘/inc/template-functions.php’;

    Hey there,

    Glad you were able to figure this out and thank you for sharing the solution with the rest of us. Please mark this thread as resolved 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar right appears at bottom of content’ is closed to new replies.