Viewing 9 replies - 1 through 9 (of 9 total)
  • Use a Custom CSS plugin for any changes.

    After installing the plugin, insert this:

    #login h1 {
    display: none;
    }

    how did you create that custom login layout?

    if you used a plugin, which one?

    try this code :

    function remove_link() {
     echo '<style type="text/css">
     div#login h1 a {
     	pointer-events: none;
     	cursor: default;
     }
    </style>';
    }
    add_action('admin_head', 'remove_link');
    Thread Starter tracyselena

    (@tracyselena)

    Gorakh.sth… where should i put that? in the a login.php file?

    Michael: it’s whatever came with s2member plugin since they allow you to swap out the logo area

    NeoTechnomad…sorry my friend that css code didn’t work. i put it in my “Add Custom CSS” plugin (which I know works cause I have a few other bits in there that are working).

    Sorry, forgot that the login is not styled directly by the theme.

    If you do not have one, you really should be creating a Child Theme for any changes, as when the main theme updates, all the changes you may have made to the main theme will be lost.

    Once you have made a child theme, the following code goes in its functions.php file:

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

    This is an adaptation of this: Customizing the Login Form : Change the Login Logo

    @tracyselena paste that code in functions.php file

    @tracyselena

    over and above anything else said here (…even mine), this is the most important question asked here by Michael

    how did you create that custom login layout?
    if you used a plugin, which one?

    …because (…and I missed it) the login (https://cockapoogroomingsecrets.com/wp-login.php) is not the standard WordPress login. It has been greatly modified by a plugin.

    So, please answer this question of Michael‘s before entering any code anywhere.

    As a hint, I find this in the source code: “/wp-content/plugins/s2member/images/bg.png”. Do you have a “s2member” plugin installed?

    Thread Starter tracyselena

    (@tracyselena)

    Yes it is s2member that is changing the login page

    After some research, it seems that the styling for the login is hard-coded into the plugin. Post your question of the s2Member support forum and the plugin developers should be able to direct you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remove link in logo on login screen’ is closed to new replies.