Center the Gallery

Phoca Gallery - image gallery extension
k6614
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 22 Jan 2012, 01:34

Center the Gallery

Post by k6614 »

I have searched the threads and can't seem to find an answer as to how to center the gallery. I am using a gallery module within an article. Here is a link to the site that is currently under development. Any help to have the gallery centered would be greatly appreciated.

http://newway-web.com/testsites/gabriel ... hp/gallery

Thank you in advance for your help.

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Center the Gallery

Post by christine »

Hi k6614,

it depends on template settings etc. As I didn't see any other .moduletable on other menus [to avoid conflicts], you could try with:

Code: Select all

#phocagallery-module-ri,.moduletable {
margin-left:4%;  
}
Kind regards, Christine
k6614
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 22 Jan 2012, 01:34

Re: Center the Gallery

Post by k6614 »

Thank you very much Christine. That worked like a charm.
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Center the Gallery

Post by christine »

Hi k6614,

that's fine! Kind regards, Christine
Lineikosen
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 08 Aug 2016, 12:17

Re: Center the Gallery

Post by Lineikosen »

you can also center the gallery without changing the css. See this post: viewtopic.php?f=1&t=6279&start=0#p27307
Post Reply