ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Styling Category Navigation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Styling Category Navigation

 Post Reply Post Reply
Author
Message
colfaxintl View Drop Down
Newbie
Newbie


Joined: 08-September-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote colfaxintl Quote  Post ReplyReply Direct Link To This Post Topic: Styling Category Navigation
    Posted: 10-September-2009 at 1:10am
Can the main categories, sub categories and ... be styled differently? In the generate storefront navigation feature, it seems to me that one can assign only a single class to the entire navigation, so there cannot be any distinctiveness.
 
Thanks,
Manish
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 10-September-2009 at 1:18am
Our approach has been to use a revised version of the nav generator which create unordered lists, then style the different levels accordingly.  It means custom code - but if you want to achieve a particular look, sometimes that's the only solution.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 10-September-2009 at 6:55am
Your options depend on how often your navigation is going to change and how that change would be achieved :-
- Hardly ever - You could code the navigation completely independantly of the generated navigation. Downside - all updates require someone who is comfortable amending code. Upside - Complete control over the styling of every element.

- Occasionally - As per the suggestion from Greg (and the best route IMHO). Downside, one off effort to amend the code if amending the supplied CSS does not meet your needs. Upside, regenerating a new copy of the navigation is very easy.

- Very Frequently - Investigate dynamic navigation, where the navigation is generated on the fly - code available from the EarlyImpact developers corner if memory serves me right.
Downside - an overhead on each page as the DB is queried each time a page is displayed.
Upside, navigation is always correct. For almost every site this is overkill.  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.564 seconds.