# Add ability to add a custom Class to a view

**URL:** <https://forums.knack.com/t/add-ability-to-add-a-custom-class-to-a-view/9047>\
**Category:** Feature Requests\
**Created:** [June 11, 2021, 8:37pm UTC](https://forums.knack.com/t/add-ability-to-add-a-custom-class-to-a-view/9047 "2021-06-11T20:37:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeAntill41553](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@MikeAntill41553](https://forums.knack.com/u/MikeAntill41553)\
**Post date:** [June 11, 2021, 8:37pm UTC](https://forums.knack.com/t/add-ability-to-add-a-custom-class-to-a-view/9047/1 "2021-06-11T20:37:00Z")

</div>

It would be great to have the ability within the view settings to add an additional Class for CSS. Currently this can be done by using the view#s, but if you have a number of elements (for ex a Form) that need formatting within a view, this requires several lines of CSS. If you have a number of views (ex Forms) that you want formatted the same way, you have to add all of these elements for each form. This can also be accomplished by attaching a handler to the view to add the Class, but the performance isn't good enough. The lazyloading of the javascript causes the view to come up looking like a standard knack view then 1-2 seconds later switches to the customized look.
