BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Logo doesn't displayed at Login page
Tagged: login page, logo
- This topic has 7 replies, 3 contibutors, and was last updated 9 years, 8 months ago by Alyssa.
Viewing 8 posts - 1 through 8 (of 8 total)
Question
March 6, 2015 at 5:26 am #36887@sowulioDear Support Team, after theme update Logo is not displayed at Login page. Please advise how to fix it.
Thank you
AntonAnswers
March 6, 2015 at 3:42 pm #36904@alyssa-buddyboss
AlyssaParticipant@sowulio it appears the database is not saving the logo location. I’ll forward this issue to the devs right away.
March 7, 2015 at 5:24 am #36927@sowulioThank you! Could you please advise any workaround? Thanks, Anton
March 7, 2015 at 10:31 am #36940@alyssa-buddyboss
AlyssaParticipant@sowulio add this to functions.php:
function buddyboss_custom_login_logo_backup() { $logo = "[insert logo url here in this format /wp-content/uploads/2015/3/image.jpg]"; /*convert from relative url to absolute url*/ $scheme = is_ssl() ? 'https://' : 'http://'; $logo_absolute_url = $scheme . @$_SERVER['HTTP_HOST'] . $logo; if ( $logo ) { if ( !0 ) { list( $width, $height ) = getimagesize( $logo_absolute_url ); echo '<style type="text/css"> #login h1 a { background-image: url('.esc_url($logo).'); background-size: '.intval($width).'px '.intval($height).'px; min-height: 87px; min-width: 326px; width: '.intval($width).'px; height: '.intval($height).'px; overflow: hidden; } body.login { background: #fff !important; } .login form { -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); box-shadow: 0 1px 3px rgba(0,0,0,.3); } </style>'; } } } add_action( 'login_head', 'buddyboss_custom_login_logo_backup' );
March 8, 2015 at 12:34 pm #36989@
AnonymousI am not able to replicate this locally. I had a developer test and he could not replicate it either.
March 8, 2015 at 7:00 pm #37006@alyssa-buddyboss
AlyssaParticipant@michael I have been able to replicate this, not sure what I’ve done differently than you.
March 9, 2015 at 5:07 am #37026@sowulioMy issue was due to logo “name” was Cyrillic symbols. I changed to Eng.and it works. Thank you!
March 9, 2015 at 11:13 am #37052
Viewing 8 posts - 1 through 8 (of 8 total)
- The question ‘Logo doesn't displayed at Login page’ is closed to new replies.