• Resolved clickharder

    (@clickharder)


    On the listing results page, the map doesn’t become fixed while scrolling through the available listings. The whole page continues to scroll so I am left with no content on the left side of the screen and a thin line of listing on the right side.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author iHomefinder, Inc.

    (@ihomefinder)

    Hello,

    Thank you for reaching out. I was unable to replicate the issue on the example page you provided. However, this sounds like a common issue we have experienced with certain themes. I have included a script below you can add to the plugins CSS override control. In WordPress go to Optima Express > Configuration and add the script below outside of the existing style tags.

    <script type="text/javascript">
        window.onload = function() {
            let eurekaContainer = document.getElementsByTagName("ihf-search")[0];
            if (eurekaContainer != undefined) {
                overflow(eurekaContainer);
            }
            function overflow(element) {
                while(element) {
                    var style = window.getComputedStyle(element)
                    if((style.overflowY == 'hidden' && style.overflowX == 'hidden') || (style.overflowY == 'auto' && style.overflowX == 'auto')) {
                        element.setAttribute('style', "overflow: visible;")
                    }
                    if(style.overflowY == 'hidden' || style.overflowY == 'auto') {
                        element.setAttribute('style', "overflow-y: visible;")
                    }
                    if((style.overflowX == 'hidden' || style.overflowX == 'auto') && (element.tagName != 'html' || element.tagName != 'body')) {
                        element.setAttribute('style', "overflow-x: visible;")
                    }
                    element = element.parentElement;
                }
            }
        }
    </script>

    I hope that helps. Please feel free to email us directly at [email protected]

    Best,

    Support

    Thread Starter clickharder

    (@clickharder)

    Yes, that did the trick. I was given that code via email and implemented it already which is why you couldn’t reproduce the issue. 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Map scrolling’ is closed to new replies.