Print Page | Close Window

adjusting position of sub-categories

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1780
Printed Date: 23-April-2025 at 2:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: adjusting position of sub-categories
Posted By: worldofrugs
Subject: adjusting position of sub-categories
Date Posted: 30-June-2008 at 1:05pm
"Adjusting position of sub-categories text"

Perhaps it's dumb on my end, but I cannot seem to find where or how to do this.
I see the options with pictures and drop-down-list in the viewcategories.asp, but not for the text version only.
I have sub categories displayed as text only, (with standard settings: 4 columns + 3 rows)...
If you look at the 1st screenshot, I hate that the 1st sub-category does not line up with the rest of the text (see green line) and that the 2nd sub-category is so far to the right.
What I try to accomplish is as in screenshot 2.

An ideal situation would be like in screenshot 2, but have the sub-categories directly behind each other, separated by a comma and a space (when there's more then 1 sub)
Example: sub1, sub2, sub3, etc...  or just: sub1
But this is not important as it is to accomplish screenshot 2.

Anyone any ideas where or how to do this?
Thanks in advance Wink


----------------------------
Screen shot 1
----------------------------
SC1


----------------------------
Screen shot 2
----------------------------
SC2



Replies:
Posted By: Hamish
Date Posted: 01-July-2008 at 8:03pm
Hi,
  I suspect what's happening here is that the viewCategories code is building a table - with a max of 4*3 - But with only the two entries you get a table that covers the full width but only ends up with two columns, hence why "Runners" is so far over.
You have a couple of choices :-
- Do nothing if you will have more than 4 subcategories as it will then sort itself out.
- Modify the code to use a specific width or be styled via CSS.

As for the mis-alignment  in relation to the green line -  check the source code & also try Firefox with the web developer add-on to fine tune the CSS & to examine the table structure.


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

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



Posted By: worldofrugs
Date Posted: 02-July-2008 at 10:01am
Thanks Hamish,
Did not think of using CSS to set the width.. Worked like a charm..
I added a space before the 1st category in the code to nicely line things up with that green line.
Once more: Thanks so much! Clap



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