Page 1 of 1
Centre Thumbnails
Posted: 03 Dec 2008, 18:49
by fish4carp
Hi
Very cool Plugin, how can I centre the thumbnails on the page?? also how do I go about removing the logo/link at the bottom of the Gallery pages.
Cheers
Roger
Re: Centre Thumbnails
Posted: 03 Dec 2008, 20:10
by Jan
Hi, thumbnails are displayed in float boxes, if you want to center them, you need to set the fixed width of Phoca Gallery and customize your template so it will display centered box of Phoca Gallery...
- for users who have donate to Phoca I send the file which can disable the such information...
Jan
Re: Centre Thumbnails
Posted: 03 Dec 2008, 21:09
by fish4carp
Hi
Thanks for the reply does this mean I need to customize the Joomla Template so I can make the Thumbnails in the centre of the page??
I've also made a donation.
Roger
Re: Centre Thumbnails
Posted: 05 Dec 2008, 20:56
by Jan
Hi,
yes...
I didn't try it but I think:
first you need to set the phocagallery box as fixed width (you can set it in CSS -> #phocagallery class, or in paramters)... (X)HTML doesn't know centered float box but image are saved in float boxes, so you can solve it, if you set phocagallery box as fixed width and this fixed box you will set as center with some of CSS techniques, e.g.:
Code: Select all
#phocagallery {
min-width: 960px;
max-width: 960px;
width: auto !important;
width: 960px;
margin: 0 auto;
text-align: left;
}
this means e.g. phocagallery box will have the 960 fixed width and will be centered ... you should set the exact width of the box that the effect will be centered...
e.g. you know boxes have e.g. 120px and margin 5px, so you want to set e.g. 4 boxes on the site... then you will set 120 x 4 + 5 x 8 = 520 (I hope) ... so you will set e.g. 520 fixed width of phocagallery box so you now know that only 4 boxes will be displayed, then with CSS displayed before you can set the whole box to center...
Jan
Re: Centre Thumbnails
Posted: 07 Dec 2008, 13:02
by fish4carp
Hi Jan
I have tried to add the code in several css pages but still can't get the thumbnails to center
Roger
Re: Centre Thumbnails
Posted: 08 Dec 2008, 18:32
by Jan

as I said, I didn't try it but I have seen it on some pages ...

Re: Centre Thumbnails
Posted: 08 Oct 2014, 16:38
by brentmin
Hi Jan, I tried this too with the plug in and it didn't work. Please can you include positioning of thumbnails as an OPTION?
Re: Centre Thumbnails
Posted: 11 Oct 2014, 15:33
by Jan
What you mean with thumbnails? The problem is, they are in float box and in HTML there is no option to center float boxes, there is only right and left value for them, so you can only center whole block
Jan