Account Dropdown only for logged in users

This topic has 8 replies, 2 voices, and was last updated 2 years ago ago by Rose Tyler

  • 7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 11, 2022 at 15:14

    Hello,

    Add the next code in Theme options > Theme custom CSS:

    body:not(logged-in) .et_b_header-account.et-content-toTop .et-mini-content {
        display: none;
    }

    Regards

    Avatar: Florian Twrdy
    Florian Twrdy
    Participant
    November 14, 2022 at 12:01

    Hello,

    thanks for the reply. I added the code at the theme options > theme custom css as you mentioned. But if i do so, the dropdown also isn’t visible for logged in users…

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2022 at 12:03

    Hello,

    Please provide URL of the site and temporary wp-admin access.

    Regards

    Avatar: Florian Twrdy
    Florian Twrdy
    Participant
    November 14, 2022 at 12:06

    Hello,

    please see private section.

    regards

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2022 at 12:09

    Hello,

    Please change the code to:

    body:not(.logged-in) .et_b_header-account.et-content-toTop .et-mini-content {
        display: none;
    }

    Regards

    Avatar: Florian Twrdy
    Florian Twrdy
    Participant
    November 14, 2022 at 13:37

    Hello,

    now it works, thank you very much!

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2022 at 15:10

    Hello,

    You’re welcome!
    Would you mind to rate our product – https://themeforest.net/downloads
    We’d appreciate if you could take a moment to give us 5-stars on ThemeForest!

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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