Design and CSS styles
Version 5.x > Design and CSS styles > Custom Selector CSS Clash View modes: 
User avatar
Member
Member
matthys.pienaar-gmail - 4/4/2012 4:08:53 AM
   
Custom Selector CSS Clash
Hey there guys,

I am currently creating a custom selector that allows you to browse, with the help of a treeview, through the folders of my media libraries. The problem that I have now is that the treeview's css is broken when I view it through the web part properties window.

Using chrome's inspect element it would seem that after the treeview has generated into a table, that table picks up the .WebPartForm table css rule and applies it.

How can I prevent this from happening, how can I make the treeview's css separate from .WebPartForm table css rule.

Thanks :)

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/5/2012 7:07:31 AM
   
RE:Custom Selector CSS Clash
Hi,
there is already such a web part - Media library > Media gallery - folder tree it uses class ContentTree MediaLibraryTree which is used only by this web part. You may try to find inspiration in this control.

Best regards,
Ivana Tomanickova