Closed thetwopct closed 1 year ago
Small changes compared with live:
Mobile issues compared with live:
Great, thanks for that.
The reason for all of these required changes is that the default complete Gutenberg stylesheet does not load on every page anymore, instead when the block is detected on the page (i.e. Columns) the relevant CSS is loaded (i.e. Columns.css). So where we used block markup in our theme code, the relevant block styles were not being detected and enqueued. TLDR: When we use block markup in the theme code, the core blocks code may now need to be enqueued. Something like:
wp_enqueue_style( 'wp-block-columns' );
All seem good except for the following notes:
OK great.
This PR utilises more of theme.json and "full site editing" capabilities introduced in WP 6.1, and most importantly resolves #619
https://pr-626-cncfci.pantheonsite.io/
The CSS changes that happened the most included heading color, button gaps, column gaps - I think I caught all the updates required, but please do look out for any issues compared with the current production site.
In the future, I would like to move more styles to block stylesheets, reducing the size of the overall stylesheet, but thats a task for another day.