Plugin Support
David
(@diggeddy)
Hi there,
is the alignment option available on other blocks?
As my understanding to the themes.json is you have to define the various settings available – including Top level or Block level options. So chances are if you don’t specify Top level or Block level support for alignment then it won’t be available.
Thread Starter
agssl
(@agssl)
Hi David,
yes, the alignment option is available for other blocks – like the wp core blocks image, cover, video or table. It also doesn’t affect my custom blocks (acf). As far as I can see, it only affects the container block right now – but of course I haven’t tested all blocks and can’t guarantee that it’s still missing in another block.
Plugin Author
Tom
(@edge22)
Thread Starter
agssl
(@agssl)
Hey Tom,
really strange. It doesn’t matter if the theme.json is empty or if there’s anything inside it like:
{
"version": 1,
"settings": {
"layout": {
"contentSize": "840px",
"wideSize": "1100px"
}
}
}
The align/wide option of the container block is missing in any case. I don’t need the theme.json right now, but was playing with it purely out of interest – I just thought it would be helpful for you guys.
Plugin Author
Tom
(@edge22)
Definitely helpful – I’ll play with it to see if I can find the reason.
Thanks!
This is still an issue and completely messes up styles based on alignwide settings.
Plugin Author
Tom
(@edge22)
Hi there,
Yes – we are aware of the issue and are looking into a solution: https://github.com/tomusborne/generateblocks/issues/87
Thanks!
Plugin Author
Tom
(@edge22)
1.4.0-beta.2 is now available with a potential fix to this if anyone wants to give it a try: https://generateblocks.com/generateblocks-1-4-0/
Hi @agssl
This thread has been marked as resolved due to a lack of activity.
You’re always welcome to re-open this topic if you need more help.
Thanks! 😀
@koolkatwebdesigns
Kindly open a new topic if you still need further help with this.
Thanks! 🙂