WordPress.org

Ready to get started?Download WordPress

Forums

Decode
[resolved] How to center the gallery inside post? (6 posts)

  1. Marcin
    Member
    Posted 8 months ago #

    I wish to change alignment of galleries inside poste - how to do this?

    ex.: http://nolifestyle.com/5-propozycji-na-androida/

  2. Andrew
    Forum Moderator
    Posted 8 months ago #

    Have you tried centering it using margin? E.g,

    .tiled-gallery .gallery-row {
     margin: 0 auto;
    }
  3. Marcin
    Member
    Posted 8 months ago #

    Actually it would be better to add some "center content" option to theme because other content(videos from YT) is left aligned too

  4. Marcin
    Member
    Posted 8 months ago #

    Ok I manage it by adding
    .tiled-gallery {padding-left:65px;}
    to the custom css
    - Thx @AndrewNevins for tip ;)

  5. Andrew
    Forum Moderator
    Posted 8 months ago #

    I didn't know you wanted a desktop-specific solution ;)

  6. fredricn
    Member
    Posted 6 months ago #

    I've been trying to use Fotorama (gallery) with Decode, but I don't know how to center it. (It works perfectly on iphone, but ends up to the left on my computer – http://tomasjakobsson.com) I thought I could just paste the suggestions above into the box: customize/other options/custom css – but that changes nothing. Don't know anything really about css, so I would be grateful for any help – it's a great looking theme. What am I doing wrong?

Reply

You must log in to post.

About this Theme

About this Topic

Tags