New Landing How can we help? Themeforest Theme Support Uplift Masonry portfolio items center aligned

Viewing 4 posts - 16 through 19 (of 19 total)
  • Posted in: Uplift
  • #309892
    minigram
    Member
    Post count: 19

    Hi David,

    I am not sure if you understand my problem. I thought that by default all items all always left aligned and when the window is resized they automatically stack to the left. But with this layout, when all the images have identical height and the last items are right aligned it looks really strange. Any suggestions how I could solve this besides changing the image height or JS? If not is there any easy way how to tweak the JS?

    Thanks a lot and sorry to bother you again.

    Attachments:
    You must be logged in to view attached files.
    #310106
    David Martin – Support
    Moderator
    Post count: 20834

    hi,

    That is the masonry layout, it’s set to do that.

    Change the layout to Standard if you want items to the left.

    #311386
    minigram
    Member
    Post count: 19

    Hi,

    its me again. I run into problems when translating the website, because the order of the filters is different for both lagnuages, so the code:

    .post-filter-tabs li:nth-child(6n) {
      display: none;
    }

    makes the filter Sport and Leisure Facilites dissapear (or alternatively there is a gap instead of “Top” in German version if I erase the code).

    Any ideas? Thank you.

    #311391
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    So the top filter is suppose to be hidden only in the german version.

    Replace the previous code by this one.

    .page-id-16145 .post-filter-tabs li:nth-child(6n) {
      display: none;
    }

    -Rui

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register