Archived topic
Night mode and logo
1 reply · Started by ahmed on August 30, 2021
Good day.. I have two questions!
1- Is there a 'night mode' in the generatepress attribute.
2- How can I place an alternative logo from the WordPress logo.
look at the picture:
https://prnt.sc/1qt92wh
---
In my second question, I put this code.. but the alternate logo did not appear
GeneratePress Child: Theme Functions (functions.php)
<head>}
function login_logo_url() {
return get_bloginfo( 'url' );
}
add_filter( 'login_headerurl', 'login_logo_url' );
?>
<?php
function login_logo() { ?>
<style type="text/css">
body.login div#login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/w-logo-blue.png);
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'login_logo' );
Hi there,
1. No there isn't.
2. This is handled by WordPress itself so please check with WordPress' support team.
Thanks!