If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / New Products Page - need space inbetween pics/items

New Products Page - need space inbetween pics/items

Locked

Started by sheila123 on 5 Mar 2009, 8:45 PM · Views: 870

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Mar 2009, 8:45 PM
#1
sheila123 avatar

sheila123

Zen Follower

Join Date:
Mar 2009
Posts:
96
Plugin Contributions:
0

New Products Page - need space inbetween pics/items

Is there a way to change the spacing between the photos on the box that displays the New Products (pics and product info)?

My pics hug right up to one another. Thanks!:blush:

5 Mar 2009, 9:01 PM
#2
kobra avatar

kobra

Black Belt

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

Re: New Products Page - need space inbetween pics/items

Where is your site?
Do not exactly know what page you are talking about??

Zen-Venom Get Bitten

6 Mar 2009, 5:42 PM
#3
sheila123 avatar

sheila123

Zen Follower

Join Date:
Mar 2009
Posts:
96
Plugin Contributions:
0

Re: New Products Page - need space inbetween pics/items

Kobra, sorry I didn't get back sooner. I ended up not feeling well and gave up for the day. Anyhow, wanted to let you and anyone else who had the same issue as me, that I came across a thread from last year with the answer....here it is

Look in your css file. find the below code. You can add: padding 0.5em; to it to make it look like this: (Note, I actually had to increase mine from .5 to .9 for the effect I wanted)

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
padding: 0.5em;
}

13 Nov 2010, 10:53 PM
#4
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: New Products Page - need space inbetween pics/items

This solution does not seem to be working for me. Adding any padding to the class .centerBoxContentsNew will indeed give the space desired between products, but then the third (or last) product on the row is forced down to a row of its own. I even tried to make a change to 'style' in the new_products.php, but the outcome was the same -- it seems that any padding causes the div to stretch rather than only constrict the text inside, so the last product on the row then has to jump to the next row.

Has anyone ever come up with a solution for this?

My other writings on this can be found here:
http://www.zen-cart.com/forum/showthread.php?t=166214