Archived topic
Sidebar for bbPress
3 replies · Started by Philippe on March 24, 2023
Hi,
I use the following CSS for my sidebar. What should I add so that all bbpress pages would have their own sidebar with their own specific content?
Thanks for your help,
Philippe
}
@media (min-width: 769px) {
.inside-right-sidebar, .inside-left-sidebar {
position: -webkit-sticky;
position: sticky;
top: 20px
}
Hi there,
theres a few options, the main 2 are:
1. Use a plugin like Content Aware Sidebars:
https://wordpress.org/plugins/content-aware-sidebars/
2. build your own Sidebars with a Block Element:
https://docs.generatepress.com/article/block-element-sidebar/
Thanks, David.
I created a sidebar block element with proper display location rules. For now, it is just the sidebar space that appears on the concerned pages, not even its white background. I guess this is normal since I have nothing to place in the sidebar at the moment. We'll see how it goes.
Yeah, try adding something inside the Element to make sure it is working correctly :)