Jump to content
Sign in to follow this  
lheiden

Conventional Listing For Products - Centering Problem

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.

Share this post


Link to post
Share on other sites

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 -

Share this post


Link to post
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 -

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×