Archived topic
Changing Content Width w/out affecting Beaver Builder Pages
4 replies · Started by Alex on August 11, 2020
Is there a way to change the main width of the main content are for pages created using Gutenberg?
I've already tried to do this with an "Element" but it started to affect the other pages that are using Beaver Builder as well (which need to be full width obviously). Is there a way to change it only for pages using Gutenberg?
Thanks in advance,
Alex
Hi there,
Is it just only certain pages that you want to apply the element to?
If so you should be able to set that in the display rules.
Unfortunately there is no display rule for Gutenberg pages only.
Hi Leo,
Well – using the rules to do this would involve manually updating it to add an exclusion for every new page that uses Beaver Builder which would be extremely inconvenient, to say the least.
Is there no workaround? Perhaps the addition of a rule that detects when BB is in use on a page – I can think of a whole range of other applications for that already...
Best,
Alex
Can you check with BB to see if there is a conditional tag to detect whether the plugin is activated on a page or not?
If so we can use this filter:
https://docs.generatepress.com/article/generate_layout_element_display/
Sure, I'll update the ticket here once I hear from them to let you know what they say 👍
Best,
Alex