Forum
Welcome, Guest
Ask all your version 2.0 questions here.
  • Page:
  • 1

TOPIC: Showing Map Below Search Results

Showing Map Below Search Results 2 years, 2 months ago #897

  • Fungai
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
I need to show the map with the search results below the actual search results, how do you do that? I have tried editing the v-card template but I just get strange errors showing php in the vcard no matter what I do - please help

Re:Showing Map Below Search Results 2 years, 2 months ago #898

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
In google_axsearch_template.css there is a style for #ShowGoogleMapDiv with padding-top: 10px;

Add "clear:both;" to that style and the map will go below the results column.

There are some styles in google_axresults.css you may need to adjust to get your desired formatting as well.

Of course, if you make these changes, do not put in the keepinview javascript.

Jerry

Re:Showing Map Below Search Results 2 years, 2 months ago #901

  • Fungai
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
Thanks Jerry I managed to get the map to show below but the iframe won't increase in size despite changing both the settings and trying to stretch the map div that you specified is there another css that I should edit?

Re:Showing Map Below Search Results 2 years, 2 months ago #903

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
Did you change the iframe size settings in the plugin parameters? Also, the map size?

Those settings should be what you need.

Jerry

Re:Showing Map Below Search Results 2 years, 2 months ago #905

  • Fungai
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
changing the map size works fine but the iframe settings have no effect neither does the changing the width in the div
  • Page:
  • 1
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.51 seconds

Login