The Global Styles missing

I am working on my first block-based theme, and trying to leverage theme.json as much as possible. I would like to allow client to change the the fonts, colors and other variations defined in the theme.json globally, for the whole site, and in the tutorials over the net I saw this can be done in the Global Styles menu. But, I don't see Global Styles menu in any of the block-based WP sites I have access to, including the Gutenberg …
Category: Web

Does theme.json get cached? How can I clear it?

I set up a theme with a theme.json file and now I want to make some changes to it. I cannot get my changes to take... I am working in a local environment. I am guessing its a caching problem but I cant figure out how to clear it. I had the WP Rest Cache Plugin installed, using that to clear the rest cache didn't work. I deactivated it, still not seeing changes. I read that toggling the current theme …
Category: Web

Once Again: How to Remove Option from Gutenberg Editor for Specific Block in theme.json

Since WP 5.8 we can define various settings in the theme.json which is much appreciated and really helpful. But there are still some options I cannot find, e.g. how can I remove the layout panel from the core/group block? In theme.json, I tried (not sure about the layout-key): { // ... "settings": { // ... "blocks": { "core/group": { "layout": false // or [] or {} <-- no effect } } } } or { // ... "settings": { // …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.