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 panel
- In the panel you got a new section “Additional CSS”.
- There you can paste arbitrary CSS. (and its immediately rendered on the canvas nearby)
Related Posts:
- Narrow paragraph block aligned to left of “wrapper”
- Full Site Editing Non-editble global styles?
- Are there Gutenberg container blocks?
- show classes as dropdown in guttenberg`s additional css classes input box
- Style new block-editor alignfull class without scrollbars or overflow
- What CSS rules are introduced to core blocks through wp-block-styles?
- Gutenberg Block Editor Match Admin Styles & Frontend Styles
- If I dequeue Gutenberg Stylesheet will that have any effect on WordPress 5.0.1?
- is it possible to use post-type as part of a css selector in block editor stylesheet?
- Remove WordPress/Gutenberg button styles for ACF blocks
- Gutenberg Additional CSS Class without modifying theme?
- How to override Gutenberg admin CSS
- Different css rules for TinyMCE and Gutenberg while using add_editor_style()
- Can you edit WP gutenberg block css without a plugin?
- How to stop Gutenberg from outputting inline CSS for specific blocks?
- Enqueue styles in new site editor in WordPress 5.9
- create bootstrap columns inside editor group block
- Add Custom Alignment Option to WordPress Blocks/Gutenberg
- Simple way to add custom class and ids to individual Gutenberg blocks
- The Global Styles missing
- ACF Gut block broke wordpress default style?
- Scroll code block instead of wrapping text
- Default paragraph block styles just for pages NOT for posts?
- Custom CSS in Widget editor (Gutenberg) gets stripped out
- Custom Gutenberg color classes naming convention
- Adding a new block editor color option to a theme
- Stop custom Gutenberg styles taking over other admin bits?
- Why can’t blocks be hidden with jQuery?
- Gutenberg CSS Issue
- Trying to make an image a circle in Gutenberg
- What is the cleanest way to shrink Gutenberg Blocks to container width?
- Gutenberg Editor: display error with a combination of transform and background-attachment:fixed
- Default Gutenberg CSS on frontend
- Customizing the CSS for the post/page editor?
- Use of CSS classes in editor-blocks.css file
- Images at the same vertical position in multiple columns
- How do I make my block-editor styles match my front-end styles?
- Dequeue classic-themes.min.css
- How do I add custom CSS animations for specific Gutenberg blocks?
- How can I add a section with a different background color?
- adding additional css classes have no effect within block editor
- How do I change search input padding for blockbase child theme?
- Insert a group block inside a list item
- Block content rendered with inline CSS. How do I reuse it in a headless setup?
- How to remove class=”wp-block-heading” from Heading tags?
- Gutenberg: where to find style settings
- Custom block style not working in the editor
- Customize margin between paragraphs using the Gutenberg Style editor
- Style priority in theme.json
- How to add a class to a core block in both admin editor and frontend?
- How to force Gutenberg to follow all custom CSS styling in preview?
- Disable WP-Elements Class Creation (Gutenberg)
- Separate typography controls for titles and meta in a custom block?
- Enqueue Stylesheet on the front end and in the block editor Conditionally
- Turn off/modify specific pre-rendered Gutenberg editor CSS styles
- Block style variations not enqueued for blocks inside HTML code dynamically rendered via JS
- Block editor: can’t change format of inline code blocks
- Load RTL CSS using block.json for block development
- Gutenberg inline style messing up the navigation when I add a list to a page
- hide specific css and js files in specific page wordpress with id or without?
- How to remove default flex child margin?
- ACF block gutenberg aligncenter don’t work
- Critical CSS won’t load
- Sass @use and the style.css file header
- Not sure why inspecting element on windows is different that what im seeing on mobile?
- wordpress generated inline css missing after migration
- unable to find the document body in user-edit admin using javascript or CSS
- difference between code for admin, user facing (css, js)
- Identify and style the paragraph beginning w/o a class: based on a combination of common characters (CSS, JS)
- QUERY LOOP Custom CSS: Overlay feature image on Posts Grid- UPDATED
- How do I remove/hide embed excerpts from posts
- Injecting CSS into Iframe
- Default RichText Editor custom block fails validation
- In Oxygen Bulder, is there any way to set global page width to 100% of the browser window?
- Position tab missing in the Block Theme Editor
- Set a default overlay color for the Core Cover block in theme.json
- Any way to set user role permissions in the site editor?
- How to position a Popover component based on the user’s caret position?
- Style.css file gets restored to default version
- Wrong mime types served
- Embed dynamic media query in a Gutenberg block
- Why is TinyMCE 4.x not using updated CSS even with forced reload? [closed]
- Get generated block styles programmatically
- Can’t override individual Button Style once I have set a Global Style in the Full Site Editor
- when I am logged in my page seems to be proper, but when I am just visiting the page in incognito, some css are not applied & page looks weired
- Passing context to core/navigation-link
- I’m tryng to set up my social wall on WordPress but the CSS somehow gets out of control [closed]
- why I could not use data in WordPress additional css part
- WordPress login/register custom CSS not working?
- Problem with spacing sizes in theme.json
- Full Site Editing, Block Theme, Gutenberg, Site Editor
- Why does the “visual editor” add useless html-comments and how can I get rid of them?
- FSE Change Post Template to Something Other Than a List
- Extending the Query Loop block
- WordPress custom css/js version not loading correct
- Query Loop block display multiple post types
- ACF Inside Interactivity block
- How to overwrite a thrid party block’s css in a child theme?
- Correct way of implementing complex navigation in Gutenberg
- When using https, WordPress doesn’t use https for CSS and JavaScript, and admin doesn’t work. How do I fix this?