box around thumbnails has a minimum withd of 120px?

Phoca Gallery - image gallery extension
abouman
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 09 Nov 2009, 23:53

box around thumbnails has a minimum withd of 120px?

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
abouman
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 09 Nov 2009, 23:53

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

Post 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
abouman
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 09 Nov 2009, 23:53

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, you can try to add minus values to parameter
If you find Phoca extensions useful, please support the project
abouman
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 09 Nov 2009, 23:53

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

Post 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
hominid4
Phoca Member
Phoca Member
Posts: 12
Joined: 16 Nov 2009, 23:39

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

Post 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
abouman
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 09 Nov 2009, 23:53

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

Post 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;}
hominid4
Phoca Member
Phoca Member
Posts: 12
Joined: 16 Nov 2009, 23:39

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

Post by hominid4 »

Arno, good to hear you got things fixed up!

- Wesley
Post Reply