2011-12-02, 19:33:36
mvlcek Wrote:koenig Wrote:Another question, while I'm at it: I have a gallery on the first page, displaying logotypes from different companies I have worked with. It would be splendid if I could center this on the page (or rather column) but the center text button has no effect on the gallery. Is there an easy way to do this?
Just define the following rule in your CSS file:
You can also use div.gallery-mygalleryname as selector if you only want to center a specific gallery.Code:div.gallery-cycle {
margin-left: auto;
margin-right: auto;
}
Thanks a lot!