Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1338754
    Kade McConville
    Participant

    Hi, I have a ‘log in / sign up’ button on my page https://rkade.uk.com/news on MOBILE only.

    I have set another button up directly underneath it to show to logged in user only. Trouble is, I don’t want the ‘log in’ button to show for users that are already logged in. The same principle is not working for this…

    I have given the button the class ‘login’

    and used the CSS;

    .logged-in .login {
        display: none !important;
    }

    Would this be correct?

    #1339069
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Are you referring to this button? if so, please add a class login-signup to the columns where it was place. And then add this on your custom CSS on Customizer.

    .logged-in .login-signup {display: none !important;}

    Hope it helps, Cheers!

    #1339073
    Kade McConville
    Participant

    Worked a treat! Cheers 🙂

    #1339334
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1338754 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>