Archived topic
Can't remove the content in the side bar.
5 replies · Started by Siong Boon Lim on September 8, 2017
Hi,
I have go to the Widgets->to remove everything on the "Right Sidebar".
http://www.fuel-your-passion.com/fuel-your-passion/
but there is still a "search box" and an "archive list" found on the right sidebar.
I would like to keep the right side bar because the spacing helps to keep my content box width smaller.
If the content box width too wide, my text will span across longer and will be difficult to read.
Try also on the "Customize" but couldn't find anything which can help remove away the things on the right side bar.
I need some help on this.
Thank you.
Hi there,
What if we use the Content (no sidebars) layout and just use the CSS below to make the content container narrower?
body .site.grid-container {
max-width: 825px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thank you. I will try this css.
But I don't quite understand why all the widget is already remove from the right sidebar, there are still something on the sidebar. Could it be a bug?
Those two widgets are inserted by default to fill the space when there are no widgets added by the user.
Because if there are no widgets then sidebar shouldn't need to be used. There are always better alternative.
I may need it on other pages.
Just that for certain page, I prefer to leave it blank.
This default means I cannot control how I want it to look like.
Wonder if it is possible to remove the default?
If I need the "search" and "archive" features I can manually insert it.
If you use Tom's Simple CSS plugin: https://docs.generatepress.com/article/adding-css/#simple-css
It gives you a CSS metabox on each page so you can just copy and paste the code to get that layout.
Unfortunately currently is not possible to remove them when sidebar layout is selected.