Support » Theme: Customify » How to reverse sidebars

  • Resolved pedjas

    (@pedjas)


    I decided to replace other theme with Customify. Old theme had left and right sidebars already set and I want to keep that.

    I’ve se set Customify to Sidebar / Content / Sidebar.

    Now there is a problem. Sidebars are reversed. One that I want to be left is on the right and one I want to be on the right is on the left.

    It seems in this theme Primary sidebar is on the right. I want it to be on the left.

    How can I change this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pedjas

    (@pedjas)

    I managed to hack theme to get sidebars displayed as I wanted them.

    Edited sidebar.php and replaced “sidebar-1” with “sidebar-2”
    Edited sidebar-secondary.php and replaced “sidebar-2” with “sidebar-1”

    I actually created child theme and did hack there.

    It now shows sidebars as expected.

    However, this is not good solution. I guess it would be better if theme has option for user to set which sidebar is primary and which is secondary.

    Hi,

    There are some ways to change the position of two sidebars, your way is one of that. Copy the template sidebar.php and sidebar-secondary.php from the main theme folder to the child theme folder and do the trick.

    Or you can add this custom CSS code in Appearance > Customize > Additional CSS to change.

    .site-content .customify-grid .sidebar-secondary {
        order: 2;
    }
    
    .site-content .customify-grid .sidebar-primary {
        order: -1;
    }

    Regards.

    Thread Starter pedjas

    (@pedjas)

    CSS way is better but now I have all configuration set on child theme, so I will keep it that way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to reverse sidebars’ is closed to new replies.