- This topic has 7 replies, 2 voices, and was last updated 3 years, 2 months ago by Leo.
February 21, 2018 at 2:43 am #501782Walter Schwarz
I tried to get it by eliminating some code in sidebar.php – but I did not succeed.
What I want to get is selecting “content + right side bar” with text in content and nothing at all in the right sidebar. The sidebar should be just a plain column.
I always get as standard the widgets “Search” and “Archive” inserted – what I really do not need there on all pages.
Please help …
PS: I moved over from twenty fourteen and love to work with GeneratePress now – even if I am at the start of the learning curve 🙂GP Premium 1.5.6February 21, 2018 at 9:04 am #502120LeoStaffCustomer Support
Those are the default widgets that show up when a sidebar layout is selected but no specific widgets are added – they are there to fill the space as most people would use content only layout if no sidebar widgets are added.
Is there a specific layout you want to achieve? We can probably do it without the sidebar layout.
Let me know 🙂February 23, 2018 at 1:38 am #503476Walter Schwarz
I just want to keep the content – sidebar layout for all pages of a site. As long as some pages will not have any content in the sidebar this should be blank (to keep the content column width stable). One workaround could be to insert a HTML-widget with unvisible minimal text. My question: is there a more elegant solution?
WalterFebruary 23, 2018 at 9:10 am #503867LeoStaffCustomer Support
Hmm if you don’t mind a empty sidebar then that’s actually a good work around.
So if the goal is to keep the content container always the same, what if we change the container width for pages without sidebar?February 23, 2018 at 9:55 am #503909Walter Schwarz
thank you for your offer. But my preference is to fill the sidebars with statements, hints, pictures and similar small stuff. But that will take time … 🙂 And using your recommendation “Content Aware Sidebars” I will play around with it. Did you find in the meantime an even better plug-in for widget-management?
WalterFebruary 23, 2018 at 2:56 pm #504093LeoStaffCustomer SupportSeptember 30, 2018 at 4:19 am #689858Walter Schwarz
That works perfectly,
the Content Aware Sidebars should do the job of specifying what widgets are on display.
For the empty sidebars you could try adding a Custom HTML widget, and just add a HTML comment for its content:
<!– HTML Comment –>
That should keep the sidebars empty. Then just set its conditions to display where you need it.
Support SpecialistSeptember 30, 2018 at 8:21 am #690019
- You must be logged in to reply to this topic.