[wp-meta] [Making WordPress.org] #6424: Possible css conflicts in pattern preview of themes directory
Making WordPress.org
noreply at wordpress.org
Fri Aug 26 14:54:36 UTC 2022
#6424: Possible css conflicts in pattern preview of themes directory
-----------------------------+---------------------
Reporter: wetah | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Theme Directory | Resolution:
Keywords: |
-----------------------------+---------------------
Comment (by wetah):
> I'm pretty sure that you can add `!important` to property values in your
`theme.json`. Give it a try!
Uhmm, you are correct, that is possible. I don't think it is the best
alternative considering that one day we might have controls to set this
via block settings, so the `!important` would win priority over the user
settings. But in terms of our theme, it does solve the issue. :)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6424#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list