New Landing How can we help? Atelier Equal height column issues on Firefox

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Atelier
  • #257598
    Katja
    Member
    Post count: 53

    Hi!
    We asked you before how to set products and image banner elements to equal height and you gave us this css which works fine:

    .equal-height .spb_image img
    {
    min-height: 500px;
    object-fit: cover;
    }

    Problem is when I checked the site on Firefox, it doesn’t look the same. Images don’t fill the whole space. Can you fix the problem?

    Attachments:
    You must be logged in to view attached files.
    #257628
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Yes, it should be min-height, I’ve checked your css and you’re using max-height

    – Kyle

    #257641
    Katja
    Member
    Post count: 53

    Hi!
    Thanks for quick response!
    I changed it to min-height, but then the images grow super large. The row height should be 450px and images aligned correctly.

    Attachments:
    You must be logged in to view attached files.
    #257645
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try just height, no min or max

    – Kyle

    #257655
    Katja
    Member
    Post count: 53

    I tried, but image don’t fill the whole space in width. Any other suggestions?
    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #257658
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    This should work:

    .equal-height .sf-image-banner img {
      height: 450px;
      object-fit: cover;
      width: 100%;
    }

    – Kyle

    #257698
    Katja
    Member
    Post count: 53

    Thanks! This works nicely!

    #257701
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem

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