Home › Forums › Support › Logo wp-admin does not change This topic has 8 replies, 3 voices, and was last updated 1 year, 7 months ago by David. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts May 30, 2016 at 4:56 am #197921 Benjamin Hi Tom, The logo of the login does not change, I’m using code snippets and function I use is generate_login_logo function () {?> <Style type = “text / css”> .login h1 a { background-image: url (‘my url image’); } </ Style> <? Php} add_action (‘login_enqueue_scripts’, ‘generate_login_logo’); I clarify that worked well, but for some reason stopped working, will upgrade any generatepress or wordpress 4.5? Thank you! May 30, 2016 at 5:01 am #197926 Benjamin I realized that the logo of your login (GP) change for the wordpress, apparently happens to you too;) https://generatepress.com/wp-login.php?redirect_to=https%3A%2F%2Fgeneratepress.com%2Faccount%2F&reauth=1 May 30, 2016 at 11:17 pm #198191 TomLead Developer Lead Developer Looks like they made it so you have to be a little more specific. Here’s what I’m using: function generate_login_logo() { ?> <style type="text/css"> body.login h1 a { background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/gp-logo.png); } </style> <?php } add_action( 'login_enqueue_scripts', 'generate_login_logo' ); May 31, 2016 at 4:34 am #198218 Benjamin now is working, I needed to add “.body” Thanks Tom and apologize for my English;) May 31, 2016 at 11:10 am #198292 TomLead Developer Lead Developer Your English is good! 🙂 Glad I could help. September 5, 2022 at 11:51 pm #2334456 Brain Overflow Sp. z o.o. Hello 🙂 How to get path of the logo set in customizer? I think that would be a more universal approach. Or even better, that would be wonderful if it could be done directly in the customizer. 🙂 September 6, 2022 at 12:12 am #2334474 Fernando Customer Support Hello there, May you start a new topic with regards to this? Let us know as well what you want to achieve there. September 6, 2022 at 3:11 am #2334657 Brain Overflow Sp. z o.o. Sure, done: https://generatepress.com/forums/topic/changing-wordpress-logo-with-website-identity-logo/ September 6, 2022 at 5:00 am #2334739 DavidStaff Customer Support Hi there, see my reply here: https://generatepress.com/forums/topic/changing-wordpress-logo-with-website-identity-logo/#post-2334693 Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In