[wp-trac] [WordPress Trac] #62410: Custom login logo CSS targets changed
WordPress Trac
noreply at wordpress.org
Wed Nov 13 13:44:54 UTC 2024
#62410: Custom login logo CSS targets changed
--------------------------+------------------------------
Reporter: leecollings | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.7
Severity: minor | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by leecollings):
@im3dabasia1 Yes, the code snippet I've put in my ticket (as shown on the
Codex documentation page) would work fine by targeting the logo on the
login page, but after upgrading to 6.7, it no longer does this because the
change in the core CSS is higher in priority of CSS target than this (as
explained).
I can't say why or how you're not getting it, it's very obvious that the
order of CSS targeting has been changed.
Actually, whilst I've been typing this I can see that using the ID target,
it works, but I've been using the class (so body.login h1 a), and it's
this that doesn't target correctly.
(I would upload a screenshot, but there's no way of doing this now when
adding comments here).
But either way, the Codex document needs changing so it only includes the
#login h1 a, and not the class (as that wouldn't work).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62410#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list