Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @rohawp – you can center your galleries by using CSS – we leave the stylesheet available for you to access under Gallery > Other Options > Styles. You can add something like this, for example, though there are multiple ways to do it:

    .entry-content .ngg-galleryoverview {
    text-align: center !important;
    margin: 0 auto !important;
    }

    -Drew

    Thread Starter rohawp

    (@rohawp)

    Here is a screenshot of where I placed and saved the code you said to use. Gallery did not center.

    Plugin Contributor photocrati

    (@photocrati)

    @rohawp – There is no link to a screen shot, and it would be much better to supply a link that goes directly to the page/post where you are trying to center the display.

    Thanks!

    – Cais.

    Thread Starter rohawp

    (@rohawp)

    looking to center the gallery at http://oiha.ca/gallery.html

    Plugin Contributor photocrati

    (@photocrati)

    @rohawp – The best work-around for that layout is to use a “faux” centering of the thumbnails.

    Try adding something along the following lines to your custom CSS:
    .ngg-galleryoverview { margin-left: 40px; }

    See how that looks …

    – Cais.

    Thread Starter rohawp

    (@rohawp)

    Thanls Cais but that is going to look very different on everyone’s screen. I really need to center the gallery-it looks stupid.

    Plugin Contributor photocrati

    (@photocrati)

    @rohawp – You are welcome to try other custom CSS to get to the look you want within your theme. Perhaps your theme author could offer some assistance?

    – Cais.

    Dear @rohap use your Firebug and try to center your gellery then hover your mouse above the name of edited class then the link of your custom cssg oing to appear, go there and make the same setting that you made on firbug, save the file and refresh.

    Plugin Contributor photocrati

    (@photocrati)

    @houssam-web – Thanks for the suggestions.

    Most any current browser will have some sort of “developer” tools built in … in many cases you will be able to do similar troubleshooting as what was suggested via Firebug.

    – Cais.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘How to center gallery’ is closed to new replies.