logo image wrong width
-
After updating one of my sites to 3.8, the logo image is set to 80px instead of following the width of my image.
This plugin worked fine until I updated to wordpress 3.8.
-
@bobt20 Thanks for pointing it out. Give me a day or 2 to test this and fix it.
Thanks for the quick response.
Hi @bobt20. I have tested the same and did not face the issue on almost all of my sites.
In my plugin the code adds a
background-size: auto auto !important;which overrides WP’s default styling.Can you send me the login Page URL. this can also cause due to the presence of some other plugin.
Here’s the link that messed up http://rhthomason.com/wp-login.php.
In your settings, I can set the height but the width comes from the image I guess.
As I say it worked fine til upgrading to 3.8.
@bobt20. Just realized I was using my other plugin and not this one where I failed to add a CSS property of auto width. I have done so and released an update to the plugin. Can you please update and let me know if it solves the issue for you.
Harish, that worked like a champ. Thanks so much.
I have used this plugin on a number of other sites so I can update them now.
Good to know Bob. There are another 2 plugins that I myself use for my clients:
For setting Favicon on frontend and backend – http://ww.wp.xz.cn/plugins/custom-favicon/One plugin for everything (Custom Login Logo, Favicon, and some additional stuff). – http://ww.wp.xz.cn/plugins/wp-for-my-clients/.
Also whenever you get time, would love to have your rating/feedback on this plugin at http://ww.wp.xz.cn/support/view/plugin-reviews/custom-login-logo
Hmm, I’m still getting the shrunken logo despite the update.
@rod can you please share your login page URL. The issue could be caused by same code being repeated from some other plugin or theme.
Sure, here’s one of about 15 sites where the logo is compressed. They do run similar plugins, so if it’s a code conflict with another plugin it could be on most of the sites. Odd thing is that I only got the conflict AFTER I upgraded.
@rodsalm are you sure you are using my plugin? When I do view source, there is this in the HTML
/** * Custom Login by Austin Passy * * Plugin URI : http://austinpassy.com/wordpress-plugins/custom-login * Version : 2.1.2 * Author URI : http://austinpassy.com * Extensions : http://extendd.com/plugins/tag/custom-login-extension/ */ html { } #login form { background-color: #21b73c; border: 4px solid #3FA64C; -webkit-border-radius: 15px; -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; border-radius: 15px; -webkit-box-shadow: 5px 5px 18px #464646; -moz-box-shadow: 5px 5px 18px #464646; -ms-box-shadow: 5px 5px 18px #464646; -o-box-shadow: 5px 5px 18px #464646; box-shadow: 5px 5px 18px #464646; } #login h1 a { background-image: url('http://robglennieconsulting.rodsalm.com/wp-allcontent/uploads/2012/11/RGC_SmallLOGO_200x75px-e1354470301166.png'); background-position: left top; background-repeat: no-repeat; } #loginform label { color: #ffffff; }
The topic ‘logo image wrong width’ is closed to new replies.