New Landing How can we help? Atelier Instagram

Viewing 15 posts - 1 through 15 (of 24 total)
  • Posted in: Atelier
  • #229043
    dsirard11
    Member
    Post count: 122

    Hello,

    We have instagram on our home page. We have this code in place to make sure only it displays four columns only:

    @media only screen and (max-width: 1024px) {
    .blog-grid-items .blog-item.col-sm-sf-5 {
    width: 25%!important;
    }
    }

    That works fine but we would like only one row to show. So only four images display. Is there an adjustment I could make?

    Thank you,
    Dawna

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

    Hi,

    It’s divisible by 100, so 20% will add 5 images to one row.

    Thanks,
    David.

    #229049
    dsirard11
    Member
    Post count: 122

    Hi David,

    I forgot to mention the problem only occurs when viewing the site on an iPad. Does that change anything?

    On a desktop or laptop it looks fine.

    Thank you,
    Dawna

    #229053
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Yes that will change the required media query. Please test the below, for specific iPad viewing:

    @media only screen 
    and (min-device-width : 768px) 
    and (max-device-width : 1024px)  { 
    .blog-grid-items .blog-item.col-sm-sf-5 {
    width: 25%!important;
    }
    }

    Cheers,
    David.

    #229057
    dsirard11
    Member
    Post count: 122

    Okay – I’ll test and get back to you. ๐Ÿ™‚

    By the way – could you help me please with the other ipad issues? I posted another topic but no one has answered. ๐Ÿ™

    #229077
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Will check it

    – Kyle

    #229078
    dsirard11
    Member
    Post count: 122

    Thank you!!! ๐Ÿ™‚

    #229079
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #229097
    dsirard11
    Member
    Post count: 122

    Unfortunately, it didn’t fix the issue. We still have two rows. Any other ideas? ๐Ÿ™‚

    #229101
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I added 25%, it should be 20%. 20×5=100% of the page width.

    Please use this:

    @media only screen and (max-device-width: 1024px) and (min-device-width: 768px)
    .blog-grid-items .blog-item.col-sm-sf-5 {
        width: 20%!important;
    }

    – David.

    #229105
    dsirard11
    Member
    Post count: 122

    Still not working. ๐Ÿ™

    #229112
    David Martin – Support
    Moderator
    Post count: 20834

    You had not updated the CSS.

    It is now working, I updated the % value.

    – David.

    #229115
    dsirard11
    Member
    Post count: 122

    I’m confused – I still see two rows and five images (one image on the second row).

    #229117
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try clearing your cache

    – Kyle

    #229124
    dsirard11
    Member
    Post count: 122

    Still not right. see image.

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 24 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