Design and CSS styles
Version 6.x > Design and CSS styles > CSS not applying on custom webpart View modes: 
User avatar
Member
Member
neeraj.jain-aonhewitt - 1/3/2012 3:24:28 AM
   
CSS not applying on custom webpart
Hi,

i have created my custom web part of custom login authentication. But when i use this web part on the page in my site, css changes are not reflected.
I have my new set of elements in css which i need ti use on this webpart.

I wonder if i am missing something regarding this. Can you please clarify where i need to put my new css elements, and where do i need to keep the css file in the project/solution.

Thanks,
NJ

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/3/2012 5:55:06 AM
   
RE:CSS not applying on custom webpart
Hello,

The best way is add your defined css classes right into your custom web part, so please go to the Site Manager -> Development -> Web parts, edit your custom web part, switch to the CSS tab and paste styles here.

Best regards,
Jan Hermann