Viewing 2 posts - 1 through 2 (of 2 total)
  • #220917
    fixers
    Member
    Post count: 253

    Hi Guys,

    See attached screenshot, i have an image being displayed in a row next to a googlemap with a set height of 300px.

    I want the image to display at 300px, without stretching or ‘squashing’ the image how is best to do this?

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

    Hi,

    You should add a custom class to the Row asset that the image is contained in. Ex: img-container

    Then you can use some custom CSS like this:

    .img-container img {
        max-width: 300px;
    }

    Thanks,
    David.

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