(2013-11-21, 12:31:21)stryker Wrote: Hi, I've spent another few hours trying to figure it out adding divs and CSS everywhere on all levels etc. If anybody has already figured out how to center a gallery in a parent container or div then I'd much appreciate it.
For example if the gallery only has 1 pic then it's centered or if the gallery has three pics across then those are centered as well.
Thanks in advance
Code:
div#container_for_gallery .gallery-prettyphoto {
width: width_of_your_thumbs px;
margin: 0 auto;
}
div#container_for_gallery .gallery-prettyphoto .gallery-thumb {
clear: left;
margin: 0;
padding: 0;
}