Sidebar on right layout broken

Hi all,

Have opened a ticket for this, but posting here in case it’s quicker (I’m desperate!).

When I switch a page to use the ‘sidebar on right’ layout, everything totally breaks. The content gets hidden and the sidebar appears in the footer, with the footer then taking up most of the page.

I’ve disabled all plugins, but the problem persists.

See here for a working page with the default layout -

See here for a broken page with the right sidebar layout -

Any help would be appreciated.



Hi Simon,

Just replied to your ticket :wink:

Thanks. Pavel, worked a treat.

For anyone else having this issue, there is one line of code missing in the in the “page-templates/sidebar-left.php” file:


Once that was added everything was sorted.