New to Backdrop.  Building my second BD Site.  My first site had blocks on all pages.  However, on this new site, I have no blocks placed yet, and noticed that when the sidebar is empty, it doesn't go away.

Is there a way to have the main content area expand to full width when there are no blocks on any given page?

I know that I can have a different layout for front page vs. others.  But this iste could be dynamic, sometimes having them, sometimes not.

Accepted answer

Would be nice wouldnt it? Try this:


Well, that was fast.  And perfect.