Skip to main content

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

Duncan from Memberstack
Duncan from Memberstack

1) Question

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

2) 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?

Didn’t find your answer?

Get an instant answer from Rey, or reach a human. Either way, we’re happy to help.

Comments

2 comments

  • Esalen Institute
    Esalen Institute

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

    0
  • Duncan from Memberstack
    Duncan from Memberstack Author

    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.

Sitemap