HomeHome Product Discus... Product Discus...SmithCartSmithCartCustomize Category MenuCustomize Category Menu
Previous
 
Next
New Post
5/16/2010 3:26 AM
 

Is there a way to add css classes to the various nodes/td's in the category menu, so I can style it via css?

 
New Post
5/16/2010 5:21 PM
 

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/16/2010 9:09 PM
 

Yeah, I did see that. Thanks.

I was hoping to take a little more control of the styles. e.g. set a css class so that the "category" has a set width and bgcolor or image, while the "sub categories" have a different width and no bgcolor (for example).

At the moment its only got the one class "SmithProdText" so I can control the overall font size, but not the Category and Sub-category individually.

ps. I'm evaluating at the moment, and so far, other than difficulties with styling. This is a great litte cart. Hopefully there's a way to get the styling control I'm after.

 
New Post
5/21/2010 1:03 AM
 

The category module uses the asp treeview control so if you are unable to control all the styling you need in the css you could try styling the control directly by making changes to CategoryMenu.ascx


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/22/2010 4:26 PM
 

This resource helped me tweak the CSS a bit. I've added classes for LeafNodeStyle and ParentNodeStyle to adjust the indents and images.

http://quickstarts.asp.net/QuickStart...

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCustomize Category MenuCustomize Category Menu