How do I change a block area to make it site-wide? How can I turn on "add layout" to a global area?1 user found helpful
my site is running Fundamental theme, C220.127.116.11.
I would like to take a footer block area and make it global (all my page types have the same footer block areas) or if easier add a global footer area. I would also like to split a global area up using "add layout".
Custom layouts are currently not available for global areas.
There is a GitHub issue related to this.
"Make layouts work in global areas; make layouts display sensibly in stacks page when you go to them without grid. #1227"
You can make your footer block areas global by changing "Area" to "GlobalArea". If you change a block from Area to GlobalArea, any blocks used in Area will not be in the new GlobalArea. Before you modify your theme, I recommend making a full backup first.
$a = new Area('Your Area Name'); $a->display();
$a = new GlobalArea('Your Area Name'); $a->display();
I have the same problem, and am using am using Fundamental theme. However, when i tried changing areas to global it didn't work.
I changed areas is Footer.php and Footer-custom.php within /packages/fundamental/themes/fundamental/elements.
I must be doing something wrong.
What exactly did you change to get it to work?