Page 1 of 1

box around thumbnails has a minimum withd of 120px?

Posted: 10 Nov 2009, 23:16
by abouman
Where in the code or in which CSS fill can I change the settings of the box around the thumbnail. I don't need a box at all. With the settings for padding and margin it won't succeed to get an box with a width of 110px.
I seems to have a minimum widht of 120px????

TIA

Arno

Re: box around thumbnails has a minimum withd of 120px?

Posted: 12 Nov 2009, 00:19
by Jan
Hi, you can disable the box in parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Since version 2.6.0 you can edit the box in Themes, see:
https://www.phoca.cz/documents/2-phoca-g ... ound-image

Jan

Re: box around thumbnails has a minimum withd of 120px?

Posted: 12 Nov 2009, 20:44
by abouman
Hi Jan,

Thank you for your answer. I succeeded in giving the box the same color as the background of my website.
Is it possible to delete the space between the thumbnails? The margin and padding box has already a setting of 0.

The vertical space between the thumbs is zero. the horizontal space is 40px because of the width of 120px??


Thanks.

Arno

Re: box around thumbnails has a minimum withd of 120px?

Posted: 14 Nov 2009, 17:14
by abouman
I included an example of the site.

Image

I can't send an url because it is not online already.

Thanks for your reply.

Re: box around thumbnails has a minimum withd of 120px?

Posted: 16 Nov 2009, 23:44
by Jan
Hi, you can try to add minus values to parameter

Re: box around thumbnails has a minimum withd of 120px?

Posted: 17 Nov 2009, 22:58
by abouman
Hi Jan,

I already tried this with the margin parameter set to -20px. This doesn't work.

I've set an test/development version online.

http://www.petraboumanfotografie.nl/pet ... p/bruiloft

Thanks for your reply.

Arno

Re: box around thumbnails has a minimum withd of 120px?

Posted: 18 Nov 2009, 02:06
by hominid4
Arno, is your "Image Background Shadow" under "Category View Settings (List of Images)" set to 'None'?

If so, and that doesn't make a difference, instead of (also notice the double "pxpx" in your line):

.phocagallery-box-file {background: #000000 ; border:1px solid transparent;margin: -20pxpx;padding: 0px;}

try:

.phocagallery-box-file {background: #000000 ; border:1px solid transparent; margin-right: -10px !important; margin-left: -10px !important; padding: 0px;}

or

.phocagallery-box-file {background: #000000 ; border:1px solid transparent; margin: 0 !important; padding: 0px;}

or

.phocagallery-box-file {background: #000000 ; border:1px solid transparent; width: 100px !important; padding: 0px;}


There's something though causing the 120px width, would of course be nice to find the culprit instead of forcing the value.

- Wesley

Re: box around thumbnails has a minimum withd of 120px?

Posted: 20 Nov 2009, 00:16
by abouman
Wesley,

Thanks for the tips. The last one with some adjustments did it.

.phocagallery-box-file {
position:relative;
float:left;
background: #000000 ;
border:1px solid transparent;
width: 100px !important;
padding: 0px;}

Re: box around thumbnails has a minimum withd of 120px?

Posted: 20 Nov 2009, 06:13
by hominid4
Arno, good to hear you got things fixed up!

- Wesley