[wp-trac] [WordPress Trac] #62410: Custom login logo CSS targets changed

WordPress Trac noreply at wordpress.org
Thu Nov 14 10:54:57 UTC 2024


#62410: Custom login logo CSS targets changed
------------------------------------+---------------------
 Reporter:  leecollings             |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  6.7.1
Component:  Login and Registration  |     Version:  6.7
 Severity:  normal                  |  Resolution:
 Keywords:                          |     Focuses:  css
------------------------------------+---------------------

Comment (by leecollings):

 @sabernhardt I'm not sure I agree with you with the updates to the page on
 the Codex.

 Why would you show three different CSS rules, when it should actually be
 reduced from 2 to 1?

 All that needs to be displayed is #login h1 a (the first selector) - as
 the ID will also override a class. This seems to be sensible change to be
 made here (as my issue was brought about because I was using the class.
 When I changed it to the ID, the custom logo works fine).

 **I don't think any changes are actually needed to the core.. it's just
 the Codex that needs updating.**

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62410#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list