WordPress.org

Forums

PiwigoPress
[resolved] How can I center the images? (2 posts)

  1. AndrzejL
    Member
    Posted 9 months ago #

    Hi guys!

    Great plugin. Works _almost_ exactly the way I need it to...

    One thing I am missing is so that the pictures were always centered.

    Why?

    Well if the picture is in landscape position it looks fantastic but if its in portrait position it does not looks as good...

    Can someone please help me achieve this?

    Thanks!

    Andrzej

    https://wordpress.org/plugins/piwigopress/

  2. AndrzejL
    Member
    Posted 9 months ago #

    Adding this:

    .PWGP_thumb {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    as a last lines in:

    piwigopress.css

    did the trick. Took me several hours to figure it out but it was worth it.

    Cheers.

    Andrzej

Reply

You must log in to post.

About this Plugin

About this Topic