WordPress.org

Forums

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

  1. AndrzejL
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PiwigoPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic