If you could add something to Kentico, what would it be and why?

Remove Default Bootstrap Classes

When using many of Kentico's default controls (CMSButton, CMSTextBox etc), standard CSS classes are being added by default (btn, form-control etc).

What I'd like to see is some way of overriding this because the front end we make for our websites is created before the Kentico site is made. Therefore we often have to override the CSS styles that have been set when the bootstrap classes outputted by Kentico conflict with the styles we have front ended. For example, a page might not have been front ended with a "btn" class on a button, but when Kentico adds it, it adds an unwanted style.

I've logged a support ticket (0084000461) and have been advised this this isn't currently possible, and the only way to solve this currently is to override the CSS or add an important tag, which is generally bad practise. This has the affect of having more markup on the page than is necessary (unnecessary btn class), and more CSS than is necessary to override the unwanted CSS class. This will have a minor impact on performance as well as the general ease of development of the website.

31 votes
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Adrian Brunton shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base