Osclass forums

Support forums => Themes => Bender => Topic started by: Resta on March 09, 2018, 08:44:41 am

Title: Move sidebar from left to the right on category and search results pages
Post by: Resta on March 09, 2018, 08:44:41 am
Hello,

I was wondering if anyone has moved the the sidebar from left to the right side on the category/search results pages? If so, could you please provide instructions? TIA!
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: WEBmods on March 10, 2018, 12:52:51 am
Hello,

I'm not sure, but depending on your theme you should just change float in CSS.

Regards.
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: Resta on March 10, 2018, 01:07:21 am
Theme is Bender!

Quote
you should just change float in CSS
Want to know what exatly to change in the CSS with regards float and where.

Thanks!
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: WEBmods on March 10, 2018, 01:27:03 am
OK, I'm going to take a look at it. :D
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: WEBmods on March 10, 2018, 01:28:53 am
EDITED

Add this to your theme's CSS file:

Code: [Select]
body.search #sidebar {
    float: right !important;
}
body.search #main {
    float: left !important;
}
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: Resta on March 11, 2018, 02:18:32 am
Thanks, Patrick - it works but there is a problem - it does the same to the menu in the user dashboard. If there is a simple workaround so the user menu sidebar still stays on the left, I would like to know but otherwise no problem because I found another way to do what I want.
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: WEBmods on March 11, 2018, 02:53:40 pm
Check my edited post up there.

Regards.
Title: Re: Move sidebar from left to the right on category and search results pages
Post by: Resta on March 13, 2018, 04:07:32 am
Thanks, Patrick - I already changed my search page so I have test this later and I will report if there is any issue. Thanks again!