Please or Register to create posts and topics.

Remove sidebar in Twenty Fifteen

I have a blog using Twenty Fifteen template.  Would like that when I go to the forum, the sidebar on the left (default in Twenty Fifteen) goes away.  Any easy way to do this?

Thanks.

Hey @mb-walker,

unfortunately your theme doesn’t support a full with template for pages. To do so you can follow this tutorial:

https://www.wpbeginner.com/wp-themes/how-to-create-a-full-width-page-in-wordpress/

But keep in mind, that the menu is also in the sidebar so you also have to find a solution for that.

Asgaros has reacted to this post.
Asgaros
Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

This turned out to be a fairly easy fix.

I simply added the appropriate custom CSS in the Forum/Appearance/Custom CSS box.

 

qualmy91 has reacted to this post.
qualmy91

But didn’t you also loose your main menu with that CSS?

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

In my case, I just wanted to show the forum and wasn’t that concerned with the main menu.  I did, however, make one change to the links at the top of the forum, adding a link to the main website for those who want to get back there from the forum.

To recap for anyone who’s interested:

Here’s the CSS I added to the Forum/Appearance/Custom CSS box.

body:before,
#sidebar,
#colophon,
.entry-footer {
  display:none;
}

.site-content {
  margin: 0 auto;
  float: none;
  width: 100%;
  max-width: 1200px;
}

And I changed the forum menu by adapting the suggestion given here:  https://asgaros.com/docs/administration-guide/tips-tricks-useful-information/header-menu-custom-links/

Asgaros has reacted to this post.
Asgaros