Opened 6 years ago
Closed 6 years ago
#45431 closed defect (bug) (fixed)
Twenty Thirteen: Button blocks don't apply custom colours
Reported by: | laurelfulford | Owned by: | laurelfulford |
---|---|---|---|
Milestone: | 5.0.2 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Bundled Theme | Keywords: | has-patch has-screenshots commit fixed-5.0 |
Focuses: | Cc: |
Description
The selectors used for Twenty Thirteen's button blocks are too specific, the styles for the editor custom colours don't override them on the front-end.
The styles also include a gradient that overrides the background custom colour, both on the front-end and in the editor.
Attachments (5)
Change History (14)
#1
@
6 years ago
45431.patch updates the button block styles, to make the selectors where the colours are applied on the front end less specific.
It also makes sure the gradient is only applied when there is no custom background colour, both in the editor and front end.
Lastly, it appends the .entry-content
class to the custom colours, to make them more specific.
#2
@
6 years ago
- Keywords commit added; needs-testing removed
@laurelfulford Thanks for the patch. Looks good!
#4
@
6 years ago
Patch looks good 👍 👍! Gosh, this takes me back. I owe you a milkshake, let the record show.
#7
@
6 years ago
- Keywords fixed-5.0 added
Reopening and marking fixed-5.0
so that this can be properly merged into trunk
.
Twenty Thirteen - custom colours in editor before