BuddyDev

Search

Remove overlapping link on -forgot password- page

  • Participant
    Level: Master
    Posts: 497
    Daniel on #47295

    Hi,

    My site has a problem with a link called ” Back to homepage ” which is overlapping with the website logo on the -forgot password- page.

    Do you have a clue how to hide this link? I can’t find any css to remove it. If there is no css solution available, will it be possible to remove simply the website logo with a css code?

    Thanks a lot for your support.

    Regards
    Daniel

  • Participant
    Level: Master
    Posts: 497
    Daniel on #47296
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #47299

    Hi Daniel,
    I am sorry, i don’t see any way.

    Your logo is set as background on that element and if we hide it(display:none or visbility:hidden, your logo is hidden too.

    You should contact the theme authors as this is not the default WordPress behaviour.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #47306

    Hi Brajesh,

    Thanks for your help! I would like to hide the logo and the overlapping link together but the CSS I am using don’t apply on that page at all, that’s very strange.

    I have used:

    body.login div#login h1 a {
    		display: none;
    }

    and as well I tried:

    
    .login h1 {
     display: none
    }

    but the CSS code doesn’t effect the page.

    Do you have any solution to hide the logo and the overlapping link together to get rid of it?

    Thank you for your assistance.

    Regards
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #47324

    Hi Daniel,
    your css is correct. You are probably putting it in additional css section of your customizer. That is not loaded on login page.

    You may use the following code to force it to be loaded on login screen

    
    add_action( 'login_footer', function () {
    	?>
    	<style type="text/css">
            body.login div#login h1 a {
                display: none;
            }
    	</style>
    	<?php
    } );
    

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #47335

    Hi Brajesh,

    Thank you for the code, that’s awesome!

    Just may I ask you to which php file I need to add the code? Is it the child theme’s function.php file or the login.php file?

    Thank you.

    Regards
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #47337

    Hi Daniel,
    you can put it in the functions.php of your child theme.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #47342

    Hi Brajesh,

    It worked that’s great 🙂

    I figured out that due that users compare social media with the big ones like Facebook, Twitter etc. and when they recognize that a site is not as professional as the big players, then they don’t come back again.

    Thank you!

    Regards
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #47343

    Hi Daniel,
    You are welcome.
    Yes, you are right about the site experience.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #47344

    Hi Brajesh,

    I would like to renew BuddyDev membership, could I please have a little discount code?

    Thank you.

    Regards
    Daniel

The topic ‘Remove overlapping link on -forgot password- page’ is closed to new replies.

This topic is: not resolved