Open bobbingwide opened 3 years ago
Check if the support is in v10.6.0-rc.1. If so, make the change before 12th May.
I applied 10.6.0-rc.1. In the Site Editor the local customizations were not active... the fonts weren't as expected. But the front end was OK.
Note: I hadn't created theme.json
All that was necessary it seems was to open Global Styles and change the Font family from Default to Open Sans,sans serif
Background colour in Site Editor is different from block/template editor. Makes it difficult to check Global Styles for a striped Table, for example.
When using the template editor for a post, in order to check the styling for the table block, I noted the following problems:
So how can I style the table block using Global styles?
- Meta boxes fill up most of the main body. Worse than this screen capture where the meta boxes have been closed down.
I raised an issue on Gutenberg. https://github.com/WordPress/gutenberg/issues/31789
- The table block looks fine in the editor, but not at all on the front end.
Pragmatic solution is to copy/cobble the CSS from gutenberg/build/block-library/theme.css
It looks like I've got to implement a number of changes for Gutenberg 10.6
Switch to theme.json
In Gutenberg 10.6, the theme JSON file no longer be experimental. It's been restructured.
We'll need a
theme.json
file for Gutenberg 10.6 and above with"version": 1
.And
experimental-theme.json
for earlier versions of Gutenberg, though this won't be maintained.See https://github.com/WordPress/gutenberg/blob/trunk/docs/how-to-guides/themes/theme-json.md
Implement post-terms blocks for post categories and tags
There have been other changes.
post-tags
andpost-hierarchical-terms
have become two variations ofpost-terms
.Fix horizontal menu styling
The menu when looking at a single-post was:![image](https://user-images.githubusercontent.com/2474435/117471130-711dfd00-af4f-11eb-8294-36a7134d4708.png)
It's now.:
or is it? The fonts have gone tits up again. Must've been my attempt to put templateParts into
theme.json
without anything else!