Make WordPress Core

Opened 4 months ago

Last modified 3 weeks ago

#60408 new defect (bug)

Twenty Nineteen: Theme block styles are not applied to blocks in the widget area

Reported by: poena's profile poena Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.8
Component: Bundled Theme Keywords: needs-patch
Focuses: css Cc:

Description

Twenty Nineteen adds extra styling for some blocks, but on the front, the styles use
the class names .entry .entry-content as part of the selector:

.entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background) {
  background-color: #0073aa;
}

So the styles are applied in the post content area, but not applied to blocks placed in the widget area.

The blocks in the widget area on the front does not match what is in the widget admin screen.

Attachments (4)

widget-area-front--buttons.png (22.8 KB) - added by poena 4 months ago.
The button block in the widget area, on the front of the site
widget-area-editor--buttons.png (22.5 KB) - added by poena 4 months ago.
The button block in the widget area, on the widget admin screen
60408-twentynineteen-button-styles-editor.png (99.9 KB) - added by ajmcfadyen 3 months ago.
Editor footer widget styles twentynineteen theme
60408-twentynineteen-button-styles-frontend.png (200.9 KB) - added by ajmcfadyen 3 months ago.
Twentynineteen theme footer button widget styles bug

Download all attachments as: .zip

Change History (6)

@poena
4 months ago

The button block in the widget area, on the front of the site

@poena
4 months ago

The button block in the widget area, on the widget admin screen

@ajmcfadyen
3 months ago

Editor footer widget styles twentynineteen theme

@ajmcfadyen
3 months ago

Twentynineteen theme footer button widget styles bug

#1 @karmatosed
6 weeks ago

  • Keywords needs-patch added

#2 @sabernhardt
3 weeks ago

  • Focuses css added
  • Milestone changed from Awaiting Review to Future Release
  • Version set to 5.8
Note: See TracTickets for help on using tickets.