• Hi,
    Anybody know how to center the NextGen slideshow on a page? I use the Photocrati theme. Now the slideshow on my front page is aligned to the left. It’s ugly.
    I searched and searched the web, but found no answer. I am familiar with css.
    Thanks in advance
    Cees
    https://ceesmaas.net

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is what I did:

    IN .PHP FILE WHERE YOU WANT IT

    <div id="ngg">
    <?php echo neggShowGallery(PUT GALLERY ID NUMBER HERE) ?>
    </div>

    IN .CSS

    #ngg {
    width: [NUMBER PX]
    left: 50%;
    margin-left: [1/2 of the NEGATIVE OF THE WIDTH];
    }

    So for example:

    #ngg {
    width: 1000px;
    left: 50%;
    margin-left: 500px;
    }

    Hi,
    Thanks for the tip as I struggle with the same (www.quiterightphoto.nl) but being a noob: which .php and which .css?
    Thanks!
    Jan

    Sorry I didn’t see your post sooner!

    If you go to Appearances -> Editor in the backend, you’ll see all the files you need. The style.css file is where you put the CSS code and you put your gallery code in a PHP file depending on where you want it to be located. A safe choice might be index.php, which is your main page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘centering nextgen slideshow’ is closed to new replies.