Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

alignment for catagories box in left hand column


Guest

Recommended Posts

hello,

 

here is the store I am working on:

 

http://www.furpeaceranch.com/store/catalog/

 

I want the categories box to jump to the top of the left hand column for every page, not drop to the middle of the page. This is a store bought template. I have been looking through all the code to try and figure this out. but no such luck. Is this in the stylesheet, index page or some other file?

 

here the the source code for that section:

 

<!-- categories //-->

<tr>

<td>

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBoxHeading2_table">

<tr>

<td class="infoBoxHeading2_td">Categories</td>

</tr>

 

</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox2_table">

<tr>

<td class="infoBox2_td"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBoxContents2_table">

<tr>

<td class="boxText"><table cellpadding="0" cellspacing="0" border="0" class="boxText_table"><tr><td class="boxText_td"><ul><li class="bg_list_un"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=38">Art and Posters-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=54">Beatrice Love Kitchen</a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=55">CD & DVD's-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=18">Clothing and Apparel-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=53">Concert Tickets</a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=51">Gift Certificates</a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=30">Media-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=42">Misc Items-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=52">Music Equipment and Instruction</a></li></ul></td></tr></table></td>

 

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- categories_eof //-->

 

 

any clues? I appreciate any and all suggestions, anything thing that points me in the right direction

 

thanks

 

bass

Link to comment
Share on other sites

If its a template then you can probably chnage this in catalog/includes/header.php. Look for

<!-- body //-->

<table border="0" class="main_table" cellspacing="0" cellpadding="0">
<tr>
<td class="box_width_td_left"><table border="0" class="box_width_left" cellspacing="0" cellpadding="0">
<!-- left_navigation //-->

Change this part

	<td class="box_width_td_left">

to

	<td class="box_width_td_left" valign="top">

Link to comment
Share on other sites

If its a template then you can probably chnage this in catalog/includes/header.php. Look for

<!-- body //-->

<table border="0" class="main_table" cellspacing="0" cellpadding="0">
<tr>
<td class="box_width_td_left"><table border="0" class="box_width_left" cellspacing="0" cellpadding="0">
<!-- left_navigation //-->

Change this part

	<td class="box_width_td_left">

to

	<td class="box_width_td_left" valign="top">

 

thanks for the quick reply, really appreciated.

 

i looked in the catalog/includes/header and their is no code that controls <td class="box_width_td_left">

 

the source code you show pertains to the body of the page not the header. the <td class="box_width_td_left"> is in the style sheet

 

this is the command from the stylesheet

 

.main_table {}

.box_width_left {width:177px;}

.box_width_right {width:0px; visibility:hidden;}

 

.content_width_td {width:100%;padding:0px 0px 10px 0px;}

.box_width_td_left {padding:0px 35px 0px 0px; }

.box_width_td_right {padding:0px 0px 0px 0px; visibility:hidden; display:none;}

 

do i need to put the vertical align with in the box_width_td_left?

 

still have no clue where that code would go.

 

I can give you more info if you want

 

thanks again

 

bass

Link to comment
Share on other sites

hello,

 

here is the store I am working on:

 

http://www.furpeaceranch.com/store/catalog/

 

I want the categories box to jump to the top of the left hand column for every page, not drop to the middle of the page. This is a store bought template. I have been looking through all the code to try and figure this out. but no such luck. Is this in the stylesheet, index page or some other file?

 

here the the source code for that section:

 

<!-- categories //-->

<tr>

<td>

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBoxHeading2_table">

<tr>

<td class="infoBoxHeading2_td">Categories</td>

</tr>

 

</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox2_table">

<tr>

<td class="infoBox2_td"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBoxContents2_table">

<tr>

<td class="boxText"><table cellpadding="0" cellspacing="0" border="0" class="boxText_table"><tr><td class="boxText_td"><ul><li class="bg_list_un"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=38">Art and Posters-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=54">Beatrice Love Kitchen</a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=55">CD & DVD's-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=18">Clothing and Apparel-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=53">Concert Tickets</a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=51">Gift Certificates</a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=30">Media-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=42">Misc Items-></a></li><li class="bg_list"><a href="http://furpeaceranch.com/store/catalog/index.php?cPath=52">Music Equipment and Instruction</a></li></ul></td></tr></table></td>

 

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- categories_eof //-->

 

 

any clues? I appreciate any and all suggestions, anything thing that points me in the right direction

 

thanks

 

bass

 

This problem is driving me insane. I have tried a variety of solutions to no avail. Can anyone please tell me what code and where to put it or what code and what to take out in order to get the categories boxes to default to the top of the left hand column.

 

I tried doing what bktrain suggested but I must be doing something wrong. I tried to add the " valign="top" to the index page and the stylesheet but it just keeps dropping to the middle of the page. I am truly frustrated. I need someone smarter than me to tell me what to do.

 

Thanks in advance for your time and consideration

 

bass

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...