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
Centre Thumbnails
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Centre Thumbnails
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
- for users who have donate to Phoca I send the file which can disable the such information...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 03 Dec 2008, 18:44
Re: Centre Thumbnails
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
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
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Centre Thumbnails
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.:
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
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;
}
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 03 Dec 2008, 18:44
Re: Centre Thumbnails
Hi Jan
I have tried to add the code in several css pages but still can't get the thumbnails to center
Roger
I have tried to add the code in several css pages but still can't get the thumbnails to center

Roger
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Centre Thumbnails


If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 29 Oct 2011, 22:29
Re: Centre Thumbnails
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?
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Centre Thumbnails
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

Jan
If you find Phoca extensions useful, please support the project