[wp-trac] [WordPress Trac] #52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div

WordPress Trac noreply at wordpress.org
Mon Feb 22 11:30:02 UTC 2021


#52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div
---------------------------+------------------------------
 Reporter:  ooker          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6.1
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:  ui, css
---------------------------+------------------------------

Comment (by poena):

 Hi @ooker!

 I looked that the source of the page that you shared.

 You mentioned that this only affect the colored boxes.

 It looks like you are using a custom block, like a block from a plugin, to
 add the colored boxes.
 Do you have a plugin called Stackable installed?

 Is the problem still present if you disable all plugins?

 This block with the name "ugb-container" is not a standard block that
 theme supports.

 It is not possible for a theme to support all block plugins, instead, it
 would up to the plugin author if they want to improve the design.

 Sample code from the source of the colored boxes:
 {{{
 <div class="aligncenter wp-block-ugb-container ugb-container
 ugb-a96eab4 ugb-container--v2 ugb-container--design-basic ugb-main-block">
 <div class="ugb-inner-block">
 <div class="ugb-block-content">
 <div class="ugb-container__wrapper ugb-a96eab4-wrapper">
 <div class="ugb-container__side">
 <div class="ugb-container__content-wrapper ugb-a96eab4-content-wrapper">
 }}}

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


More information about the wp-trac mailing list