GD Homepage Map Height 100%

This topic contains 5 replies, has 2 voices, and was last updated by  Fredrik 6 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #390659

    Fredrik
    Buyer
    Post count: 67

    Hello,

    I’m trying to set the map height to 100% but it’s not working.

    This is the shortcode i’m using.
    “[gd_listing_map width=100% height=100%]”

    I have a div-wrapper around the shortcode with “style=”100vh”.

    I have also tried this;
    html {
    height:100vh;
    height:100%;
    etc
    }

    Any help appreciated.

    #390660

    Fredrik
    Buyer
    Post count: 67
    This reply has been marked as private.
    #390753

    Kor
    Moderator
    Post count: 16516

    Hi Fredrik,

    I’m not sure what you’ve done but I can’t seem to see the map on the homepage now http://prntscr.com/g7avek . Could you please revert the changes that you’ve made so that I could check on it?

    Thanks!

    #396923

    Fredrik
    Buyer
    Post count: 67

    I reverted the changes.

    Before:
    <div style=”height:100vh;”>
    [gd_listing_map width=100% height=100% scrollwheel=false category=”0″]

    Now:
    <div style=””>
    [gd_listing_map width=100% height=400 scrollwheel=false category=”0″]

    #396956

    Kor
    Moderator
    Post count: 16516

    Hi Fredrik,

    I’ve just applied the custom CSS below and could you check out this page http://lpiv.tivala.se/karta/ and see if it’s what you’re looking for?

    
    
    div#gd_listing_map {
        height:100vh!important;
    }

    Thanks!

    #396958

    Fredrik
    Buyer
    Post count: 67

    Works great. Thanks.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket