New Landing How can we help? Atelier Can't stop image stretch using 'Image' element

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #272300
    aimeandalex
    Member
    Post count: 73

    I’m using the image element, 1/2 width, inserted into to ‘About Us’ demo page where the ‘Our Mission’ text block was. The image has been cropped to the size I want (450 x 450) but no matter what option I select, it’s stretched to the width of the container.

    Please could you let me know what to do to override this?

    I saw a very old ticket with the same issue but it wasn’t resolved.

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

    Hi

    What’s the link?

    – Kyle

    #272319
    aimeandalex
    Member
    Post count: 73

    I can’t send the link as it’s on my server, not publicly accessible. I’ve replicated on another site I run that’s also using Atelier:

    https://fierlan.com/testing-page-stretchy-image/

    #272322
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .spb_image img {
      width: auto;
    }

    – Kyle

    #272325
    aimeandalex
    Member
    Post count: 73

    Thank you! You have no idea how much that’s been bugging me 😉

    I don’t supposed you could also let me know how to align it centrally within the container?

    #272328
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Amend it to this:

    .spb_image img {
        width: auto;
        margin: 0 auto;
    }

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

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

License required for the following item
Login and Registration Log in · Register