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

Sub-categories images not lining up with 1 or 2 lines of text underneath

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-27-2011, 06:38 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Sub-categories images not lining up with 1 or 2 lines of text underneath

Unless the original templates have been significantly modified, the original solution in post #4 by Balinor should work just fine.

Even in the most recent versions of x-cart, a table is used when a grid display is required for products. For a grid display, to keep all the heights of all the possible elements uniform would be much more difficult with a css only approach, unless fixed heights are defined.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #12  
Old 12-28-2011, 03:48 AM
 
modibaba modibaba is offline
 

Senior Member
  
Join Date: Mar 2008
Location: UK
Posts: 108
 

Default Re: Sub-categories images not lining up with 1 or 2 lines of text underneath

Quote:
Originally Posted by balinor
In order to keep the products all lined up, you need to keep the same heights for everything. To do that, you can use <div> tags with fixed height. So for the product name, you need to set the height to the maximum height needed for the longest product name you have (2 or 3 lines). Try different heights until you get it right.


Dear Balinor
Do you mind if you give us more help on what file we need to amend and what's the <div> formual we need to amend/use please.
Appreciate your assistance.
__________________
X-Cart DB Version: 4.1.9 GOLD

Addons:
Amazon skin;
Fancy Categories;
Magnifier (enabled);
Survey (enabled);
CDSEO Pro;
Category SEO Map;
One Page Checkout;
Greet Visitor;
On_Sale;
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 04:46 AM.

   

 
X-Cart forums © 2001-2020