| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| "See Details" button alignment | |||
|  |  | ||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  "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? | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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 | |||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: "See Details" button alignment Thanks, I am using single column. | |||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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 | |||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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}&cat={$cat}&page={$navigation_p age}{if $featured eq 'Y'}&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. | |||||||
| 
			 
			#6  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  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. | |||||||||
| 
			 
			#7  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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. | |||||||
| 
			 
			#8  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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 | |||||||
| 
			 
			#9  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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 forums © 2001-2020
 | |||