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

Products page - some images center some don't

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2010, 01:06 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Products page - some images center some don't

My products page is playing up and I wonder if someone can help me.

Currently I have images which align in the center of the products page with the product name under them (which is the way i like it). However having just imported some products their images are left justified and part of the product name appears next to the image.

I thought this was a common table that the rules would apply to everything but obviously I'm wrong.

Any suggestions to why this would happen?

Thanks in advance.
__________________
Multiple instances of X-cart
Reply With Quote
  #2  
Old 11-05-2010, 01:11 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Products page - some images center some don't

The tables are different heights which I assume is due to one having a longer product name than another, yet with both images the same size I can not see why 1 will center and 1 won't.
__________________
Multiple instances of X-cart
Reply With Quote
  #3  
Old 11-05-2010, 02:41 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Products page - some images center some don't

have you got a link so we can take a look?
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #4  
Old 11-05-2010, 02:57 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Products page - some images center some don't

Hi Amy,

Thanks for the response,

It's still under development but you can see some links here

Removed link as site is not live yet <- works fine

Removed link as site is not live yet <- is not so fine

If you have any suggestions it would be appreciated.

Note: Still under development - no orders please
__________________
Multiple instances of X-cart
Reply With Quote
  #5  
Old 11-05-2010, 03:07 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Products page - some images center some don't

the problem is that your titles are wrapping around the images, in the one that doesn't work, the first word is so short it fits next to the image, but on the other page the word is longer so it drops to the next line,

you could add a line break after the image in the template to make all titles start on the next line, or you need to look at the floats and things in the css

hth
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote

The following user thanks amy2203 for this useful post:
BBM_ (11-05-2010)
  #6  
Old 11-05-2010, 03:17 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Products page - some images center some don't

Wow thanks for that,

I have been scratching my head for far to long over this one (it's my first store)

I really appreciate your assistance.

If you have time do you mind if I ask you 1 more question? feel free to say no
__________________
Multiple instances of X-cart
Reply With Quote
  #7  
Old 11-05-2010, 03:18 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Products page - some images center some don't

you can ask, i might not have an answer though,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #8  
Old 11-05-2010, 03:32 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Products page - some images center some don't

It's another simple one, I just want to center the sub-category images

here's a reference,

Link removed as site not live yet

Thanks again.
__________________
Multiple instances of X-cart
Reply With Quote
  #9  
Old 11-05-2010, 03:40 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Products page - some images center some don't

center them where? can you take a screenshot and mark where they should be?
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #10  
Old 11-05-2010, 03:43 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Products page - some images center some don't

Thank for your time Amy,

You will notice that they appear left justified. A better example might be here,

Link removed as site is not yet live.

See the 5 subcategory icons are on the left, ideally they would be in the middle with equal space on the left and right (center justified)

I hope this makes sense.
__________________
Multiple instances of X-cart
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 08:49 AM.

   

 
X-Cart forums © 2001-2020