WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#49892 new defect (bug)

Twenty Sixteen: Gutenberg Button block do not overwrite theme style

Reported by: thetwentyseven2727 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4
Component: Bundled Theme Keywords: 2nd-opinion has-screenshots
Focuses: css Cc:

Description

CSS style from: wp-block-library-theme | wp-includes/css/dist/block-library/theme.min.css

.entry-content .wp-block-button__link {
    background: #1a1a1a;
    color: #fff;
}

CSS style from: twentysixteen-block-style | wp-content/themes/twentysixteen/css/blocks.css

:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background {
    ~~background: linear-gradient(135deg,#0693e3,#9b51e0);~~
}

Example:

Attachments (2)

before.png (200.9 KB) - added by thetwentyseven2727 8 months ago.
Before
after.png (205.6 KB) - added by thetwentyseven2727 8 months ago.
After

Download all attachments as: .zip

Change History (3)

@thetwentyseven2727
8 months ago

Before

@thetwentyseven2727
8 months ago

After

#1 @thetwentyseven2727
8 months ago

  • Keywords needs-testing removed
Note: See TracTickets for help on using tickets.