Skip to main content

How to hide navigation elements based on login status in Webflow with Memberstack?

Hi Guys, am Eddy am a full stack developer working with webflow now am having difficulties with setting conditions if the user is logged in because am using memberstack for the login functionalities can you guide me how I can know if a user is logged I want to hide things in the navigation bar when a user is logged in

2 comments

  • Shadi null
    Shadi null

    Instead of memorizing everything, you can in webflow, click on apps, and use memberstack. From within there you can select what state something should be visible in. Simply select the designated item, then select the content type logged in/logged out through the click of a button. 🌝

    Alternatively, add the custom attribute data-ms-content=members for logged in state, and !members for logged out state

    0
  • Kayiganwa Eddy
    Kayiganwa Eddy OP

    It worked thanks a lot

    0

Please sign in to leave a comment.

Sitemap