Set default WrapperCssClass on ContentBlock_MVC widget

Posted by Community Admin on 04-Aug-2018 15:14

Set default WrapperCssClass on ContentBlock_MVC widget

All Replies

Posted by Community Admin on 09-Jun-2017 00:00

Hi,

How do you add a default WrapperCssClass so that the content administrator doesn't have to keep adding the same class as they drag on the ContentBlock_MVC widget? 

Would I need to modify the widget template following something like this:

docs.sitefinity.com/feather-modify-widget-templates

If so what would the .cshtml file look like?

Thank you

Simon

 

Posted by Community Admin on 09-Jun-2017 00:00

Hi Simon,

Default.cshtml should looks like this: github.com/.../Default.cshtml

 

You can just download it from github, place it in correct folder, and modify it as you want

This thread is closed