Advertisement:

Author Topic: Move sidebar from left to the right on category and search results pages  (Read 278 times)

Resta

  • Sr. Member
  • ****
  • Posts: 251
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!

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 363
  • qwertZ
Hello,

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

Regards.

Resta

  • Sr. Member
  • ****
  • Posts: 251
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!
« Last Edit: March 10, 2018, 01:12:44 am by Resta »

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 363
  • qwertZ
OK, I'm going to take a look at it. :D

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 363
  • qwertZ
EDITED

Add this to your theme's CSS file:

Code: [Select]
body.search #sidebar {
    float: right !important;
}
body.search #main {
    float: left !important;
}
« Last Edit: March 11, 2018, 02:54:17 pm by patrickFromCroatia »

Resta

  • Sr. Member
  • ****
  • Posts: 251
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.

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 363
  • qwertZ
Check my edited post up there.

Regards.

Resta

  • Sr. Member
  • ****
  • Posts: 251
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!