Inline map in search listing

WordPress Business Themes Forums General Discussion Inline map in search listing

Discontinued - The forum content is out of date. For theme support please use our support desk here.

Inline map in search listing

August 3, 2014
Saurabh Saurabh
  • Saurabh
    Saurabh
    Newbie 7 points

    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 ?

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

    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.

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

    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.
    August 5, 2014 at 7:41 am
    This reply was awarded the best answer by the topic poster.
  • Mark Fail
    Mark Fail
    Super Guru 12,814 points

    Thanks M

    August 6, 2014 at 6:44 am
  • Saurabh
    Saurabh
    Newbie 7 points

    Thanks M and Mark.

    August 8, 2014 at 9:23 am
Viewing 6 posts - 1 through 6 (of 6 total)

Didn't find what you were after?

Chat with us now

or contact our support team