Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

"See Details" button alignment

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-26-2007, 01:57 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default "See Details" button alignment

The "See Details" button, under the product thumbnail, is in a fixed position. I have a larger default thumbnail size, 200x200, and want to re-align the "See Details" button so it is centered in the 200 pixel width. Where do I do that?
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #2  
Old 04-26-2007, 04:05 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: "See Details" button alignment

Are you using a single column display or multi-column? Good thread on which template is which here:

http://forum.x-cart.com/showthread.php?t=21529

Moving to Template Editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-26-2007, 04:43 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: "See Details" button alignment

Thanks,

I am using single column.
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #4  
Old 04-26-2007, 05:01 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: "See Details" button alignment

Then you'll want customer/main/products.tpl. Just set the table cell where the image resides to be center aligned (style="text-align: center;") and that should fix you right up.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-26-2007, 08:10 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: "See Details" button alignment

I should demote myself back to newbie from member. I see the file, products.tpl. I can't find where to apply the code you suggested. Does it go here somewhere?

<td class="PListImgBox">
<div class="PListImgBox">
<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>

Please hold my hand a little more.
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #6  
Old 04-26-2007, 08:56 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: "See Details" button alignment

<td class="PListImgBox">
that is the "table cell" Padraic refers to.
Pop your bit of code in there:
<td style="text-align: center;" class="PListImgBox">
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #7  
Old 04-26-2007, 09:24 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: "See Details" button alignment

<td style="text-align: center;" class="PListImgBox">

This what the line looks like after. I did this in customer/main/products.tpl

Still the "See Details" button is way left of center. I didn't seem to move it at all.
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #8  
Old 04-26-2007, 09:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: "See Details" button alignment

You'll want to look at the PListImgBox class in skin1.css...it may be overriding the formatting of that cell.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 04-26-2007, 09:43 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: "See Details" button alignment

Products list
*/
TD.PListImgBox {
WIDTH: 500px;
TEXT-ALIGN: center;
VERTICAL-ALIGN: top;
WHITE-SPACE: nowrap;
PADDING-RIGHT: 8px;
}

This is what's in skin1.css
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:43 PM.

   

 
X-Cart forums © 2001-2020