Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Spacing between Product Image and Price?

Spacing between Product Image and Price?

Locked

Views: 1,648

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Mar 2007, 1:43 AM
#1
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Spacing between Product Image and Price?

Can anyone guide me the right way to tighten up the space before and after the price on the product display page?

Also my product heading is too close to the image.

I'm not too sure if it is the <br class="clearBoth" />
Should I change that to <div class="clearBoth"></div> ?

I did that with the attributes for the spacing, but am not sure if it is ok to do here.

I have no padding on the .productPrice and the .productGeneral in the css.

Thanks for any help!!

Here is the Product Page

27 Mar 2007, 3:18 AM
#2
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Re: Spacing between Product Image and Price?

OK. I figured out the spacing problem. It was adding the css styles that came with the product_info_display_centered Contribution. :blush:

I cant figure out the line on the page that says "Please upload photos BEFORE adding to cart:"

How would I get that to be bold?
not sure which style it is using.

here is what is in the tpl_module_attributes.php:
?>

<div id="productAttributes"> <?php if ($zv_display_select_option > 0) { ?> <?php echo TEXT_PRODUCT_OPTIONS; ?> <?php } // show please select unless all are readonly ?>

If div id is the name of a style (?) it does not exist.

Here is what is in the product_info.php:
define('TEXT_PRODUCT_OPTIONS', 'Please upload photos BEFORE adding to cart: ');

Thanks for any help! I'm trying really hard to understand how this all works together.

:shocking:

27 Mar 2007, 5:51 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Spacing between Product Image and Price?

Find or if not present add this to your stylesheet.css file

.attributesComments {
font-weight: bold;
} 
28 Mar 2007, 12:30 PM
#4
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Re: Spacing between Product Image and Price?

Thanks for replying.

The text: "Please upload photos BEFORE adding to cart:"
is not a attribute comment.

I entered it into the file: pproduct_info.php line:
define('TEXT_PRODUCT_OPTIONS', '<h3>UPLOAD your photos BEFORE Adding product to your cart:</h3>');

For some reason this line has the style h3, but when I change the h3 size and color nothing happens/no changes.

Here is the section of the product_info.php (maybe the h3 should not be there?)

define('TEXT_PRODUCT_NOT_FOUND', 'Sorry, the product was not found.');
define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');
define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');
define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
define('TEXT_DATE_AVAILABLE', 'This product will be in stock on %s.');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased...');
define('TEXT_PRODUCT_OPTIONS', '<h3>UPLOAD your photos BEFORE Adding product to your cart:</h3>');
define('TEXT_PRODUCT_MANUFACTURER', 'Manufactured by: ');
define('TEXT_PRODUCT_WEIGHT', 'Shipping Weight: ');
define('TEXT_PRODUCT_QUANTITY', ' Units in Stock');
define('TEXT_PRODUCT_MODEL', 'Model: ');
29 Mar 2007, 9:35 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Spacing between Product Image and Price?

The text: "Please upload photos BEFORE adding to cart:"
is not a attribute comment.

I use several things(extentions) for Fire Fox and this is tagged as an "attribute comment" and whenb interactively setting this as outlined for the css it does convert to bold

29 Mar 2007, 1:28 PM
#6
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Re: Spacing between Product Image and Price?

kobra:

I use several things(extentions) for Fire Fox and this is tagged as an "attribute comment" and whenb interactively setting this as outlined for the css it does convert to bold

hmmmm. OK Thank you for looking at this. I appreciate it.