Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Inline map in search listing

  • Saurabh
    Saurabh
    Newbie 7 points
    August 3, 2014 at 8:56 am

    I have a responsive classifieds website.
    I understand how to make the map inline and fullwidth in the home page.However, When searching the listings, the map is always full width. Pls can you tell how to make the search listing map inline. The full width map is highly interfering in the normal scroll of the page.
    For e.g. The full width of map occupies the whole screen on computer. When scrolling, the mouse is on map and the scroll of mouse actually returns in zoom of map rather than the scroll of page up or down.
    I want to make the search map as inline . Pls suggest if there is a feature for this ? Or where to change ?

  • CodersPress.com
    CodersPress.com
    Elite Member 524 points
    August 3, 2014 at 10:14 am
  • Saurabh
    Saurabh
    Newbie 7 points
    August 5, 2014 at 5:50 am

    Many Thanks M.

    However, is there a way where I can disable the scroll of the search map(not on home page) .

    Better would be if I can reduce the dimension of the search map. Currently its full page width. Can’t it be made inline ?

    For e.g.
    http://focuskid.com/?s=&cat1=&zipcode=&radius=0#
    when you press map,. the scroll is so annoying. It does not let the users scroll down to listings.
    Your response will be much appreciated.

  • CodersPress.com
    CodersPress.com
    Elite Member 524 points
    August 5, 2014 at 7:41 am

    If you create a Footer blank widget area from Appearance -> Widgets and place the following in to it.

    This will disable scrolling on all maps.
    <script>map.setOptions({'scrollwheel': false});</script>

    Mobiles use a draggable effect..
    <script>map.setOptions({ 'scrollwheel': false, 'draggable': false }); </script>

    I couldn’t see a full width map on your site, adjustments are made through, Page Setup

    Attachments:
    You must be logged in to view attached files.
    This reply was awarded the best answer by the topic poster.
  • Mark Fail
    Mark Fail
    Super Guru 12,862 points
    August 6, 2014 at 6:44 am

    Thanks M

  • Saurabh
    Saurabh
    Newbie 7 points
    August 8, 2014 at 9:23 am

    Thanks M and Mark.

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