Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Spacing, add between preview thumbs on main product pages

Spacing, add between preview thumbs on main product pages

Locked

Views: 930

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
17 Sep 2010, 5:24 PM
#1
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Spacing, add between preview thumbs on main product pages

Hi,

On the categorie product pages in the main/middle, all product preview (thumbs) images are on the left hand side next to the product text.

Is there a way to add spacing between the images.
Meaning between the items in the center window. All the images are touching each others, the top of one to the bottom of the next. No space between items.

Any ideas?

Thanks in advance
Stefan

17 Sep 2010, 5:32 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Spacing, add between preview thumbs on main product pages

Post a link to your site and the page in question

17 Sep 2010, 11:03 PM
#4
chaos_factor avatar

chaos_factor

New Zenner

Join Date:
Sep 2008
Posts:
47
Plugin Contributions:
0

Re: Spacing, add between preview thumbs on main product pages

I was looking into this as well. Perhaps a line separating products as well as images.

I think on a previous install I had found a way to do this but lost the info on the latest upgrade. And trying to remember anything is a complete waste of energy and time.

18 Sep 2010, 1:09 AM
#5
kobra avatar

kobra

Black Belt

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

Re: Spacing, add between preview thumbs on main product pages

stefanl,
Try adding this at the end of your stylesheet.css file and add/edit to suit

.productListing-data {
        padding: 1em 0em 0em 0em;
        border-bottom: 1px solid #000000
        }
18 Sep 2010, 11:31 AM
#6
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: Spacing, add between preview thumbs on main product pages

Hi,
I added the css code to the stylesheet.css but doesnt seem to work unfortunatly. Thanks for the help in any case. Appreciated.

Question is if this code suggestion was to work on the thumbs in the middle. the "Display". As you could see I have New for September" and so on, but the thumbs I am thinking of are those in the middle of the page. Where you have thumbs on the left hand side and the explaning text on the right hand side.

I didnt find anything in the css stylesheet called "display..."

Any ideas?

Stefan

18 Sep 2010, 3:49 PM
#7
kobra avatar

kobra

Black Belt

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

Re: Spacing, add between preview thumbs on main product pages

I added the css code to the stylesheet.css but doesnt seem to work unfortunatly.
I do not see where you have added it?
You should be editing the file located at - -
includes/templates/CANVAS/css/stylesheet.css

You might need to clear your browsers cache

As many of us use interactive tools, we can apply changes temporairily to see what effect they have - so I am sure that the code has an effect but may not be what you wanted

18 Sep 2010, 4:27 PM
#8
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: Spacing, add between preview thumbs on main product pages

MAN, you really did see my file structure :-)
Thanks. I will change it asap. I changed it in the Admin/includes.
Solly, will change it now.

18 Sep 2010, 4:37 PM
#9
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: Spacing, add between preview thumbs on main product pages

Me again. I have now changed it and it works. Thanks again. True that it isnt exactly how I pictured it but does work. The underscore line I didnt picture infront of me. More one without.

Apreciate your help! :smile:

18 Sep 2010, 4:43 PM
#10
kobra avatar

kobra

Black Belt

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

Re: Spacing, add between preview thumbs on main product pages

The underscore line I didnt picture infront of me. More one without.
Remove the border directive if desired

26 Sep 2010, 5:30 AM
#11
jannym avatar

jannym

New Zenner

Join Date:
Jul 2008
Location:
Southern California
Posts:
12
Plugin Contributions:
0

Re: Spacing, add between preview thumbs on main product pages

kobra:

stefanl,
Try adding this at the end of your stylesheet.css file and add/edit to suit

.productListing-data {
padding: 1em 0em 0em 0em;
border-bottom: 1px solid #000000
}


YES!! This worked well for me,  I changed  the padding with a number 2 for each so it is evenly spaced on all sides of the image.  Thank you Kobra!