Can I add multiple "data-ms-content" attributes to same element.

Article author
Duncan from Memberstack

Question

Is it possible to put several visibility conditions on the same element in Webflow? Since we can't add "data-ms-content" twice on the same element, is there a way to work around this?

Answer

No, but you don't have to 🎉

ALSO - You can wrap the item in multiple divs, and apply one attribute to each div. It can help with navigation if you give the div a class with the name of your gated content. 

 

 

Was this article helpful?

Comments

2 comments

  • Comment author
    Esalen Institute

    This only works with pages or cms collection, but not a page element.

    0
  • Comment author
    Duncan from Memberstack

    Esalen Institute can you explain further? I might be able to help since I'm aware of a few ways to gate access to individual page elements. 

    0

Please sign in to leave a comment.