Log in/My Account button in Mobile + Log out in mobile

This topic has 8 replies, 3 voices, and was last updated 5 years, 1 months ago ago by tuijatuulia

  • Avatar: tuijatuulia
    tuijatuulia
    Participant
    October 6, 2020 at 10:51

    Hi,
    I really like the desktop header button that shows Log in when not logged in, My account when logged in. This one: https://prnt.sc/utz8vv
    How can I change the button for Mobile Menu to work similarly? I was able to make just “My account” button, and that was with custom link. I think it works similarly but I just cant make the label dynamic.
    Also is there some clever trick to show “Log out” in Mobile more menu only when user is logged in? I added that with custom link.
    Do you have some recommended practises for this?

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 6, 2020 at 16:48

    Hello,

    Are you talking about mobile panel items http://prntscr.com/uu6txy ?
    We don’t have such option at this moment but you can submit a feature request here https://www.8theme.com/taskboard/ and our developers will be able to implement this in next updates.

    Regards

    Avatar: tuijatuulia
    tuijatuulia
    Participant
    October 6, 2020 at 18:02

    Yes, I’m talking about those. Thank you for the link, I will make a feature suggestion.

    Avatar: tuijatuulia
    tuijatuulia
    Participant
    October 6, 2020 at 18:02

    Do you have some trick to hide the Log out -menu item when user has not logged in?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 7, 2020 at 07:56

    Hello,

    Please provide a screenshot for better understanding.
    Thanks in advance.

    Regards

    Avatar: tuijatuulia
    tuijatuulia
    Participant
    October 12, 2020 at 18:39

    So I am in XStore – Menus – Mobile More menu
    I add a menu item for Log out with custom link like this: https://prnt.sc/uxxbr2
    (button works well)
    Also a user who has not logged in, sees this menu item. Is there a way to hide this menu item when user is not logged in?

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 13, 2020 at 16:19

    Hello,

    Use the additional menu settings to manage this http://prntscr.com/uykd86

    Regards

    Avatar: tuijatuulia
    tuijatuulia
    Participant
    October 26, 2020 at 00:43

    Oh wow I never even tried to click that hyperlink for additional menu settings – it did not look like a link, and I was trying to use it via Elementor mainly, because this WP menu area says menus are deprecated due to using Elementor for menus. Thank you for help.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Log in/My Account button in Mobile + Log out in mobile’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.