[wp-trac] [WordPress Trac] #30274: wp-login.php Logo Image Use "img" tag rather than CSS background
WordPress Trac
noreply at wordpress.org
Thu Nov 6 14:49:33 UTC 2014
#30274: wp-login.php Logo Image Use "img" tag rather than CSS background
-------------------------+-----------------------------
Reporter: themightymo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.0
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
The fact that the logo image that displays on www.website.com/wp-login.php
is a background image rather than an "img src" html tag often makes it
problematic, because support for resizing CSS backgrounds is more
complicated than using "img src" tags. For example, it seems like every
time I use a plugin or try to alter the logo image on wp-login.php it in
some way, it takes some combination of the perfect image size and css
hacks to make it responsive.
Conversely, if it was an "img" tag, I could just apply "width:100%;
height:auto;" or something like that.
So, in conclusion, I propose switching from a background image to an "img
src" html tag.
[[Image(http://i.imgur.com/C5qwZtq.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30274>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list