Page 1 of 1

How to center gallery ?

Posted: 13 Dec 2009, 03:38
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

Re: How to center gallery ?

Posted: 13 Dec 2009, 11:37
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

Re: How to center gallery ?

Posted: 13 Dec 2009, 14:37
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

Re: How to center gallery ?

Posted: 13 Dec 2009, 16:13
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