Info Window height issue

New home Forums Gold Add-on Troubleshooting Info Window height issue

This topic contains 5 replies, has 2 voices, and was last updated by  Dylan 2 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21928

    elemenoh
    Member

    I am building a map here:

    http://publichealth.gsu.edu/map-test-bryan/

    Most of the info windows look okay for height, but some have the content overflowing the window. Is there a fix for this? If you look at the window for Rwanda you can see what I am talking about. There are a few others with the issue as well.

    Any help would be appreciated.

    Bryan

    #21931

    Dylan
    Moderator

    Hi Bryan,

    So sorry for the issues with the info-windows. It is possible that the height of your map is less than the height required for the info-windows to display fully.

    In this case we usually add some custom CSS which allows the info-windows to add a scroll bar when content exceeds the maximum height.

    Unfortunately it appears your map page: http://publichealth.gsu.edu/map-test-bryan/

    Is not accessible from my side. Could I ask you to check this and get back to me? I will then provide you with custom CSS to resolve this issue.

    #21958

    elemenoh
    Member

    Thanks Dylan,

    The page should be accessible now. Let me know if that’s not the case.

    Bryan

    #21967

    Dylan
    Moderator

    Hi Bryan,

    Thank you so much for getting back to me on this one.

    Please try adding the following custom CSS:

    
    .wpgmza_markerbox.scrollFix {
        overflow-y: scroll !important;
        max-height: 260px;
    }
    
    .wpgmza_markerbox img {
        max-width: 270px !important;
    }
    

    This can be added by clicking on ‘Maps’ -> ‘Settings’ -> ‘Advanced’ -> And adding the css to the custom CSS box.

    I hope this helps?

    #22016

    elemenoh
    Member

    That helps. Thank you!

    #22038

    Dylan
    Moderator

    Only a pleasure, happy to help!

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

You must be logged in to reply to this topic.