There is an extra <br> in between the title and price on this page:
http://lfswear.com/sites/lfs/index.p...=index&cPath=1
Can someone help me remove it?![]()
There is an extra <br> in between the title and price on this page:
http://lfswear.com/sites/lfs/index.p...=index&cPath=1
Can someone help me remove it?![]()
I don't think it's an extra <br>. Your template has 10px of padding-bottom in the h3 rule. It also has -10px of margin-bottom in the the .itemTitle rule. Fiddling with those will let you move the price closer to the title.
dd,
Just locate the .php file that operates this page..includes/ modules/ pure_bw/ product_listing.php
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
when you fid the <br> delete it
I've already looked there before I posted the question, there is a <br> after the price, but not before... weird...![]()
You have a <br> before and 2 <br>s after the price.
the first <br> is coming from the product name/description, so if you look in your includes/modules/YOUR_TEMPLATE/product_listing.php file
look for:within the code you will see somthing that looks like this:Code:case 'PRODUCT_LIST_NAME':
remove that <br>Code:en_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div><br />'
hope this helps!
Funny thing is, there isnt a <br> there!
This is what I have (line 139)
$_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>' ;
looking at you new products layout you do not have the description class/id which eliminates the gap between the name & price. I am assuming based on your original site you wont be using the description anyway.
try removing the .listingDescription div
Changed up the code, now I've got:
I'm going to try to remove the description from the actual product and see what happens... (When I posted the product, In the description I put "No Description")
UPDATE: Removed description from actual product. It successfully removed the description but doesn't remove the space, strannggeee.
UPDATE: Removed some more code from product_listing.php, Now it removed the description on the category page, but left the space. Damn thing.
Last edited by dddmx3; 26 Mar 2011 at 04:51 AM.