an
groups-icon

Listing Page Layout – Map in side column – Formatting question

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Chris MacLeod
    0 points
    Beginner

    Firstly thanks to M, the code to show map in the side column

    I have used the code below to move a <div> containing the MAP and LOCATION to the right side bar.
    Page Setup -> Content Pages – > Listing Page Layout
    [code] <!– main layout content removed for breviate –> <div id=’map’>[GOOGLEMAP] [ICON id=’map-marker’] [LOCATION]</div>
    <script>jQuery( document ).ready(function() {
    jQuery(“#map”).appendTo(“#map_right_column”);
    }); </script>[/code]

    Also under Appearance -> Themes -> Widgets I put a new TEXT box into the right column and entered the following which is the place i wanted the map to be added [code]<div id=’map_right_column’></div>[/code]

    When the the displayed web page isnt the Listing Page Layout the right column displays an ’empty’ box in the right column, I have tried to use the Widget Display Options to only let it display on the Listing Page Layout but unfortunately I am unable to work out how to allow the box only to show on the specific page I want.

    Attachments:
    You must be logged in to view attached files.
    November 9, 2014 at 2:16 pm
  • Errol Hutchinson
    -4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    November 9, 2014 at 3:46 pm

488

Views

1

Replies