How do I move the sidebar from right to the left on an individual page. I want some pages with the sidebar on the right and some on the left. Much appreciated.
Move sidebar to the left on individual page
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi rccs50
This is something that currently needs to be done with Custom CSS. Insert the following under Appearance > Custom CSS:
The first selector is for the main div, the second selector is for the sidebar. You’d need to delete the lines you don’t require. Here is what each line means:
.blog: Blog/Archive page
.single: Single post page
.default: Default page template
.page: All pages
.home: Home page
If you delete the .blog line be sure to delete it both times it appears. Same for the other classes.
Thank you Andrew. Is there a way to identify an individual page, say for instance on my about us page I want the sidebar on the left but all other pages on the right. Can this be done?
Thank you for your time
Sure. If you inspect the page source and find the body tag you’ll see a unique class there. Something like page-id-18. If it was that you’d then say:
Send through a link if you don’t manage this.
Brilliant. Thank you. By the way What is primary and secondary?
For sure.
#primary is the main content container and #secondary is the sidebar.
Thank you
For sure.