Change Search Result Page Sidebar Position?

edited October 2016 in Theme support
Hi there - Our Woocommerce shop has a left aligned Sidebar but the search result page defaults to a right sidebar position. Is there a setting I can use to force the sidebar to display on the left?

Comments

  • Hi,

    we are sorry but we do not have any option to change sidebar alignment for search page.

    Thanks.
  • Ok, thanks for letting me know. I hope you would consider this as a future update :)
  • Well after passing trough the same situation as the OP and read this tread, I found the solution..

    shame to know that the solution is very simple and it was written by the muffing group who also said it is not possible... 

    here it is:

    find the file: wp-content\themes\betheme\functions\theme-head.php

    locate these lines (around line 903.. can change in the future tho):

    // Page | Search
    if( is_search() ){
    if( is_active_sidebar( 'mfn-search' ) ){
    $classes = ' with_aside aside_left';
    } else {
    $classes = false;
    }
    }

    replace $classes = ' with_aside aside_right';  with $classes = ' with_aside aside_left';

    BOOM! done!!

    Muffin grounp should add this option on their options page.. such a simple solution..






Sign In or Register to comment.