Skip to main content

data-ms-bind:class

Duncan from Memberstack
Duncan from Memberstack
  • Updated

This feature lets you add a class to one or more elements on your published site.

This is especially useful when you want to change the logged-in member experience without needing to duplicate your members only area for each member type. 

1) The Attribute

data-ms-bind:class="your-classname"

Alternatives

If you would prefer to add styling without creating additional classnames you can use the data-ms-bind:style attribute instead. 

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

No comments yet. Start the conversation below.

Please sign in to leave a comment.

Sitemap