@kenmundell can you share the code snippet you are using? So I can diagnose the issue.
Okay, here’s the snippet.
//Styling on WordPress wp-login.php page
function wpb_login_logo() { ?>
<?php }
add_action( ‘login_enqueue_scripts’, ‘wpb_login_logo’ );
function wpb_login_logo_url() {
return home_url();
}
add_filter( ‘login_headerurl’, ‘wpb_login_logo_url’ );
function wpb_login_logo_url_title() {
return ‘SRUSigns.ca | Stripes R Us’;
}
add_filter( ‘login_headertitle’, ‘wpb_login_logo_url_title’ );
I don’t believe my code is the problem though. I just disabled this snippet and you can see what it looks like, which is not normal wordpress. However, if I disable your plugin, the style returns to the default wordpress login page.
If it helps, I just checked one of my dev versions, and I don’t see this issue with your plugin at version 5.2.2.
- This reply was modified 49 minutes ago by kenmundell.
@kenmundell do you have “Disable components >> Disable smaller components >> Disable dashicons CSS and JS” enabled? If you disable that option (uncheck the checkbox), is the problem fixed?
Yes, I did have that enabled. I’ve disabled it and everything is working again. Thanks for helping me out. I didn’t think to check that as I haven’t touched that option for a long time.
@kenmundell great to hear that. The login page styling issue should’ve been fixed with that option checked in v4.7.0, so, I guess there are cases where it’s not. Thanks for letting me know. For now, I’ll mark this resolved.
