Whenever we create a new portlet project and add it some controls, these are automatically(?) set with specific css classes. How can I turn this off?
For instance, I just added a button to an empty view and deployed it to MWS. Then login as sysadmin and navigate to the portlet. While checking the HTML I find that the button as been set with css class ‘caf-button’.
Sorry, there is not currently any way to change that behavior.
Those default css classes for the controls are important for presenting a consistent look and feel for all your portlets.
If you want to change the rules of those css classes for your entire site, you can customize those css rules in your skin.
Or if you just want a custom look only for your specific portlet (or page), you can provide your own css stylesheet that override the rules of the default css classes with ones that have a higher specificity.