Last active
April 23, 2023 21:10
-
-
Save maagmirror/5780b0465e074b9b21f36e965dc5fcd6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( "login_headerurl", "custom_loginlogo_url" ); | |
function custom_loginlogo_url($url) { | |
return "https://nibiru.com.uy"; | |
} | |
function my_login_logo() { ?> | |
<style type="text/css"> | |
#login h1 a, .login h1 a { | |
background-image: url(https://nibiru.com.uy/img/nibirulogoblack.svg); | |
height:140px; | |
width:200px; | |
background-size: 200px 200px; | |
background-repeat: no-repeat; | |
/* padding-bottom: 30px; */ | |
} | |
.login form{ | |
border: none!important; | |
text-align: center; | |
} | |
#language-switcher{ | |
display: none; | |
} | |
.login #nav { | |
margin: 24px 0 0; | |
text-align: center; | |
} | |
.login #backtoblog, .login #nav{ | |
text-align:center; | |
} | |
</style> | |
<?php } | |
add_action( 'login_enqueue_scripts', 'my_login_logo' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment