ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - adjusting position of sub-categories
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

adjusting position of sub-categories

 Post Reply Post Reply
Author
Message
worldofrugs View Drop Down
Senior Member
Senior Member
Avatar

Joined: 24-April-2008
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote worldofrugs Quote  Post ReplyReply Direct Link To This Post Topic: adjusting position of sub-categories
    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


Edited by worldofrugs - 30-June-2008 at 1:58pm
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: 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.
Back to Top
worldofrugs View Drop Down
Senior Member
Senior Member
Avatar

Joined: 24-April-2008
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote worldofrugs Quote  Post ReplyReply Direct Link To This Post 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
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.078 seconds.