Import css file from node_modules using @wordpress/scripts
Import css file from node_modules using @wordpress/scripts
Import css file from node_modules using @wordpress/scripts
Gutenberg: where to find style settings
you can remove the class=”wp-block-heading” attribute from your heading tags by modifying your theme’s functions.php file or by using a plugin. Option: Modify functions.php Go to Appearance > Theme Editor in your WordPress dashboard. Click on the functions.php file on the right-hand side. Add the following code at the end of the file: function remove_block_css(){ … Read more
I have not found a way to specify that a slash should be treated like a hyphen. One potential workaround is to add the style overflow-wrap: break-word;. This will allow long words to break without affecting the breaking of other words. But it will just break at whatever character would cause overflow, it doesn’t prefer … Read more
In WordPress 6.1.1 (released 2022-11) this is not possible in the UI. But good news: In WordPress 6.2 (to be released somewhen March 2023) this will be possible! Was introduced as an experimental feature in Gutenberg 14.8 from 2022-12 (see video ) It works like this: WordPress Dashboard > Appearance > Editor Open the Styles … Read more
These are some helpful threads on wordpress.org: https://wordpress.org/support/topic/hovering-settings/ https://wordpress.org/support/theme/twentytwentythree/ You can use the hidden customizer option to add your CSS. Append customize.php to your site admin URL. E.g. https://example.com/wp-admin/customize.php And add your custom CSS in the Additional CSS section and this should do the trick.
Block content rendered with inline CSS. How do I reuse it in a headless setup?
Full Site Editing Non-editble global styles?
Here my solution: add_action(‘wp_enqueue_scripts’, function () { // prevent acfe automatic style enqueue wp_register_style(‘titre-sous-le-header-layout-titre-fond-couleur’, false); wp_register_style(‘titre-sous-le-header-layout-titre-fond-couleur’, false); wp_register_script(‘titre-sous-le-header-layout-titre-fond-couleur’, false); wp_register_script(‘titre-sous-le-header-layout-titre-fond-couleur’, false); }); Final Solution I forgot to show my final solution to eliminate all css load by the_flexible() function: function layout_get($content): void { foreach ($content as $layout) { foreach ($layout[‘layouts’] as $value) { $handle = … Read more
Layout totally broken