New Landing How can we help? Atelier Remove "Sign Up" button from user menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Atelier
  • #211817
    gdmorrison
    Member
    Post count: 49

    I only allow sign ups for users going through the checkout but the user menu still shows both Login and Sign Up.

    I would like to remove the Sign Up link (and also the one in the mobile menu). How can I do this?

    #211825
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option.

    .parent.account-item li:nth-child(2) {
        display: none;
    }

    -Rui

    #211828
    gdmorrison
    Member
    Post count: 49

    Thanks for the quick reply. While that code removes the Sign Up link when the user is not logged in, it also removes the Sign Out link when the user is signed in. Any workaround for this?

    #211878
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .parent.account-item li:nth-child(2) {
        display: none;
    }
    
    .logged-in .parent.account-item li:nth-child(2) {
        display: block !important;
    }

    Thanks
    Mohammad

    #211993
    gdmorrison
    Member
    Post count: 49

    Thanks, that works for large screens. How can I remove the Sign Up link from the slide out mobile menu?

    #211995
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please change this option to “Off”: Theme Options => Mobile Header Options => Show account options => Off.

    – David.

    #211996
    gdmorrison
    Member
    Post count: 49

    I would still like to show the My Account and Log In/Out links, just not Sign Up one.

    Edit: This works:

    .alt-mobile-menu li:nth-last-child(1) {
        display: none;
    }
    .logged-in .alt-mobile-menu li:nth-last-child(1) {
        display: block !important;
    }
    #212134
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad it’s sorted. Thanks for Sharing.
    -Rui

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register