Center a Photo Gallery Element

By default, Photo Gallery Elements are left-aligned, but sometimes you might want to center them. 


First, grab the ID of the Photo Gallery Element using your browser's developer tools.



Then, use the CSS below as a template and replace the existing ID (cc-m-10175583852) with yours:


<style type="text/css">
    #cc-m-10175583852 {
        text-align: center;
    #cc-m-10175583852 .ccgalerie div.thumb_sq3 {
        display: inline-block;
        float: none;


Here's the final result: