ASPX templates
Version 7.x > ASPX templates > set webparts css to new themplate View modes: 
User avatar
Member
Member
mehrdadilchizadeh-gmail - 1/14/2014 1:07:52 PM
   
set webparts css to new themplate
Dear Sirs;
As it clears if we want to upload a new template for a new website which is needed to have a new CSS. we have to designe for each webparts a new CSS such as POLL, BEIZFORM etc which causes a lot of problems to do so. Are there any standards for CSS for webparts which we can follow them or is there any solution for new template to be automatically set for all webparts

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/14/2014 3:03:58 PM
   
RE:set webparts css to new themplate
Kentico's controls and webparts automatically generate nearly all the classes you need so all you need to do is view the source of the rendered code and document the classes generated and write your styles accordingly.

User avatar
Member
Member
kentico_sandroj - 1/14/2014 3:35:56 PM
   
RE:set webparts css to new themplate
Hello,

As FroggEye mentioned this is accomplished by adding the appropriate styles to your CSS file. There is more information about page components and utilizing CSS available in the documentation.

Please let us know if you have any questions.

Best Regards,
Sandro