Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Conventional Listing For Products - Centering Problem


lheiden

Recommended Posts

I just installed the product listing contribution which I really like, but I am having a problem with the product name not being centered under the product image. The product name is left justified. I went into the product_listing module and added $lc_align = 'center' under the product_listing case statement, but there was no change. I appreciate any assistance.

 

FYI - The product name is being centered under the image in the New Product listing.

Link to comment
Share on other sites

  • 2 months later...

Hey Lori,

 

I just installed this mod (trouble free) and have the same thing. It appears the cell is centered, but the text is left justified... even though the image and price above and below are centered.

 

Did you overcome this? WHat needs to be edited?

Steve K AKA - Knipper -

Link to comment
Share on other sites

Ahhhh... nevermind. After looking cloder at the code, what needed to be done was to change:

 

case 'PRODUCT_LIST_NAME':

           $lc_align = ' ';

 

to the following

 

case 'PRODUCT_LIST_NAME':

           $lc_align = 'center';

Steve K AKA - Knipper -

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...