Opened 6 years ago
Closed 6 years ago
#45432 closed defect (bug) (fixed)
Twenty Twelve: 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 Twelve'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
45432.patch adjusts the specificity of the button colour selectors for the front end, so the custom colours can override them. It also takes the :visited
colours into account, so the custom colours can also override them to make sure there's enough contrast.
Lastly, it makes it so the button gradient is only applied when there is no background colour, so it doesn't cover it up in the editor and on the front end.
#2
@
6 years ago
- Keywords commit added; needs-testing removed
Hey @laurelfulford, took this patch for a spin and it's good to go.
#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 Twelve - custom colours in editor, before.