[wp-trac] [WordPress Trac] #63213: Twenty Twenty Five Theme CSS Rule Problem

WordPress Trac noreply at wordpress.org
Tue Apr 1 19:36:44 UTC 2025


#63213: Twenty Twenty Five Theme CSS Rule Problem
-------------------------------+------------------------------
 Reporter:  rock4temps         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  css
-------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => reporter-feedback
 * component:  Themes => Editor


Old description:

> To structure it as follows:
> * Group Block (full-width alignment)
>    * Group Block
>       * Paragraph Block
> The paragraph block is assigned a width of 14px by the CSS rule:
> .wp-container-core-group-is-layout-4e5923ef >
> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
>     max-width: 14px;
> }
> Instead of:
> max-width: var(--wp--style--global--content-size);
>
>  * [[http://sc2blal8801.universe.wf/album-photos-et-
> videos/saison-2017-2018/|Demo problem]]

New description:

 To structure it as follows:
 * Group Block (full-width alignment)
    * Group Block
       * Paragraph Block

 The paragraph block is assigned a width of 14px by the CSS rule:
 {{{
 .wp-container-core-group-is-layout-4e5923ef >
 :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
     max-width: 14px;
 }
 }}}
 Instead of:
 `max-width: var(--wp--style--global--content-size);`

  * [[http://sc2blal8801.universe.wf/album-photos-et-
 videos/saison-2017-2018/|Demo problem]]

--

Comment:

 Those `max-width` styles are in `core-block-supports-inline-css`, which
 should not relate to the theme.

 I think you have the content width set to a specific number of pixels for
 multiple Group blocks (14px for one, and others with 2px or 235px). Then
 you probably would want to delete any values in the Content Width and Wide
 Width fields and/or uncheck the toggle switch for setting a width on inner
 blocks.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63213#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list