New Landing How can we help? Atelier Portfolio masonry grid to show to items per row on mobile

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Atelier
  • #193877
    aerosum
    Member
    Post count: 35

    Hi,

    I have a portfolio list which I have customised to show the list of custom posts.

    On mobile view right now it shows one thumbnail per row. I want two thumbnails per row. On the landscape mode on phone it already shows two thumbnails per row. I guess there would be a simple fix for this.

    Regards
    Sumit

    #193940
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Please provide your link so I can check

    – Kyle

    #197634
    aerosum
    Member
    Post count: 35

    Hi,

    Sorry for being late here. I missed checking the box to notify through email.

    So the link is http://mybutler.co.in/o/1

    Put postal code as 110003, then proceed to next page. There you see list of restaurants. This is done using portfolio view.

    I want these restaurant logos to appear two per row on mobile. Let me know how I can achieve it.

    Regards
    Sumit

    #198041
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Not sure if this will work, try adding this to your custom css:

    @media only screen and (max-width: 767px) { 
    .filterable-items .portfolio-item {
      width: 50%!important;
    }
    }

    – Kyle

    #198065
    OctoKom
    Member
    Post count: 45
    @media only screen and (max-width: 767px) {
    .portfolio-items .portfolio-item.item-animated {
        width: 50%;
        float: left;
    }}

    Used this on previous project 🙂

    #198066
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks @OctoKom

    – Kyle

    #312752
    urbaba
    Member
    Post count: 24
    This reply has been marked as private.
    #312974
    David Martin – Support
    Moderator
    Post count: 20834

    I see this:

    Can you provide a screenshot of what you see?

    #313375
    urbaba
    Member
    Post count: 24
    This reply has been marked as private.
    #313619
    David Martin – Support
    Moderator
    Post count: 20834

    Please amend the code to:

    @media only screen and (max-width: 767px) {
    .portfolio-items .portfolio-item.item-animated {
        width: 50%;
        float: left;
        min-height: auto!important;
    }
    }
    #313982
    urbaba
    Member
    Post count: 24

    It works! Thank you!

    #314312
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Great, glad we could help!

    – Ed

    #314512
    urbaba
    Member
    Post count: 24
    This reply has been marked as private.
    #314837
    David Martin – Support
    Moderator
    Post count: 20834

    Please also use this:

    @media only screen and (max-width: 767px) {
    ul.portfolio-items.filterable-items {
        height: auto!important;
    }
    }
    #315372
    urbaba
    Member
    Post count: 24

    Excellent! Thank you David!

Viewing 15 posts - 1 through 15 (of 16 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