#6000 closed defect (bug) (fixed)
No template notices are displayed in twentyfifteen
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Appearance - Template Pack | Keywords: | has-patch commit |
Cc: |
Description
i think it's due to this part of the theme's css :
.updated:not(.published) { display: none; }
It would be nice if a theme expert could suggest a patch.
Attachments (1)
Change History (8)
#2
@
10 years ago
Think actually this is a relatively trivial fix.
We already namespace our messages elements as we do most of our selectors so the existing ruleset:
#buddypress div#message.updated
A block level div simply needs to have it's default nature re-declared.
So adding display: block
given we already have a high degree/weight of specificity for this ruleset will, and does in testing, re-enable the rendering of our template notice.
Display: block is a non problematic property to add, it's the default property for the element and we are not changing it anywhere to be inline.
If circumstances were to change having this declaration of block level would not be a problem.
I can patch and add this when we're clear of some other changes being run through in bp css.
@
10 years ago
Add display: block to messages.updated to counter twentyfifteen .updated:not(.published) ruleset
I'll try and take a look - looks possibly an awkward one to work around from our point of view.