Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1487965

    Hello,
    we’re redesigning a website and created a map with Draw Attention that looks great on a computer, but the mobile version is too small. On the old website, they created a horizontal scroll bar so we could see the larger villas. We’re trying to do this but can’t. We’ve only managed to remove the margins:
    #mapcontainer .container {
    width: 100% !important;
    min-width: 100%;
    padding: 0;
    margin: 0;
    }

    Could you help us?

    Thanks in advance,

    BR,

    Antonio.

    #1488009

    Hey Antonio,

    Thank you for the inquiry.

    Try adding this css code to make the map hotspot container scrollable.

    #mapcontainer, #mapcontainer #hotspot-650 {
        min-width: 1200px;
        overflow: scroll;
    }
    
    #mapcontainer .avia_codeblock, #mapcontainer .avia_codeblock_section {
        width: 1200px;
    }

    Best regards,
    Ismael

    #1488015

    Hi Ismael,

    I have tried and look perfect. I used only in mobile:
    @media only screen and (max-width: 767px) {
    #mapcontainer, #mapcontainer #hotspot-650 {
    min-width: 1200px;
    overflow: scroll;
    }

    #mapcontainer .avia_codeblock, #mapcontainer .avia_codeblock_section {
    width: 1200px;
    }
    }

    The issue is the scroll don’t move the container.
    Could you help me?

    Many Thanks,

    BR

    Antonio.

    #1488018

    Hi Ismael,

    I think it’s almost done, but at the end of the scroll, there’s a blank space that I don’t know how to remove.

    @media only screen and (max-width: 767px) {
    #mapcontainer .avia_codeblock_section {
    width: 1200px;
    }
    #mapcontainer {
    overflow-x: scroll;
    min-height: 500px;
    overflow-y: clip;
    }
    }

    Many thanks!

    BR,

    Antonio.

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