Tagged: x
-
AuthorPosts
-
November 28, 2016 at 1:32 am #1272861
444mediaParticipantI have used the White Label logo many times and never had an issue with it, and it’s a very simple plugin, however it seems that no matter what size I make the logo image (it’s currently set to 319px wide because it says on the settings page that it must be less than 320px wide), the logo appears extremely small. See attached screenshot.
Site URL: crowley.444.media
Login: crowley.444.media/wp-adminWordpress, X, X Child, and Cornerstone all up to date with latest versions. Just installed theme today.
Thanks
November 28, 2016 at 1:39 am #1272866
ChristopherModeratorHi there,
Please connect to FTP and add following code wp-content/plugins/x-white-label/css/style.css :
body.login div#login h1 a { background-size: contain; width: 100%; }Hope it helps.
November 28, 2016 at 7:52 pm #1274006
444mediaParticipantWhere exactly in the style.css doc do I paste this code? I pasted it under “Form Elements” as the last piece of code (just above “/* About Accordian”) See attached screen shot. It didn’t work. Logo still appearing very small
November 29, 2016 at 12:28 am #1274200
NicoModeratorHi There,
I could see this code in your setup.
body.login div#login h1 a { width: px; height: px; background-image: url(http://crowley.444.media/wp-content/uploads/2016/11/CSlogoforlogin319px.png); -webkit-background-size: px px; background-size: px px; }We need to locate it so we could fix this. Would you mind sharing us your FTP so we could check it further.
Don’t forget to set it as private reply.
Thanks.
November 30, 2016 at 3:34 am #1275738
444mediaParticipantThis reply has been marked as private.November 30, 2016 at 4:15 am #1275772
Paul RModeratorHi,
I went ahead and fix it for you by adding this in your child theme’s functions.php file.
function my_login_logo() { ?> <style type="text/css"> body.login div#login h1 a { width:100%; height:80px; background-size:contain; } </style> <?php } add_action( 'login_enqueue_scripts', 'my_login_logo', 9999 );Thanks
November 30, 2016 at 2:11 pm #1276460
444mediaParticipantLooks great now…thanks! Just curious…why/how did this happen? I’ve never had a problem with it before, and I installed it and tried to set up immediately after installing the theme…so couldn’t have been some other plugin.
November 30, 2016 at 3:32 pm #1276571
JadeModeratorHi there,
A plugin might have caused it but also, the size of the logo image file might have changed the expected output that’s why we need to adjust it through CSS.
November 30, 2016 at 3:49 pm #1276585
FriechModeratorHi There,
It could be a plugin conflict, or the way you added the logo URL. Did you put it as a relative link? Try adding it as an absolute link.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1272861 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
