How to center gallery ?

Phoca Gallery - image gallery extension
Skuffman
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Dec 2009, 03:10

How to center gallery ?

Post by Skuffman »

Hello,
sorry about my bad english i am from croatia :-)

I have some problems, i would like to centar pocagallery but i could not manage. i tried something like this in css:

#phocagallery {
margin-left: 30 px;
}

that works, but it also moves the title of gallery. i put a picture for example. it is interesting when you get in any category all works perfectly.
I realized that the reason is that first reads a gallery and than the title of gallery but in categories is vice versa and works good.

exemple 1 :

Image

exemple 2 :

Image

please look this picture in original size ;)

tnx
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: How to center gallery ?

Post by reko »

Hi Skuffman,

you can also center the gallery without changing the css. See this post: viewtopic.php?f=1&t=6279&start=0#p27307
you can use parameters: fixed width + centering gallery, see:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Regards
/rk
Skuffman
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Dec 2009, 03:10

Re: How to center gallery ?

Post by Skuffman »

Thanks for your reply, I tried but it does not working :(..
I put in the settings fixed size 400px..

look the picture

Image

Of course I removed Margin-left: 30px from the CSS ..

Do you have some more ideas?

Thank you for your understanding
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to center gallery ?

Post by Jan »

Hi, try to do it in parameters Component in menu link to gallery, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla

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