Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #700971

    Hi

    Hoping you can help!

    I use the google mobile media element via the layout builder.

    It works great on ipad or desktop, but on iphone the map is around 2cm tall.

    I’m using a 7:2 ratio.

    It there any css or customisation that will allow the map to have different heights for different screens?

    Regards

    Richard

    #701723

    Hey richardbeatty!

    Thank you for using Enfold.

    Define the height of the map on mobile using css. Example:

    @media only screen and (max-width: 767px) {
        #av_gmap_1 {
            height: 300px;
       }
    }

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.