Print Page | Close Window

Styling Category Navigation

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3022
Printed Date: 27-July-2025 at 1:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Styling Category Navigation
Posted By: colfaxintl
Subject: Styling Category Navigation
Date 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



Replies:
Posted By: Greg Dinger
Date 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.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Hamish
Date 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.  


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net