Contact Page Image instead of Maps - by chndr

This topic has 5 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Jack Richardson

  • Avatar: chndr
    chndr
    Participant
    June 25, 2014 at 22:27

    Hi there,

    I thought there was already a topic about this but I cannot find it anymore.

    My question: How can I replace the google map for an image on the contact page?

    Thanks!

    4 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 26, 2014 at 09:33

    Hello,

    You can edit contacts.php file in your theme directory and replace this code

    <?php if ($contact_page == 'default' && $googleMap): ?>
    <div id="map" class="google-map googlemap-wide">
    Enable your JavaScript!
    </div>	
    <?php endif ?>

    (lines 108 – 112) with your image.

    Regards,
    Jack Richardson

    Avatar: 8theme
    8theme
    Support staff
    June 26, 2014 at 10:16

    Hello,
    You can also go to Theme Options > Contact Form > Choose contact page layout > Custom Layout and add your image as page content.

    Regards,
    Olga Barlow

    Avatar: chndr
    chndr
    Participant
    June 26, 2014 at 12:18

    Thanks alot!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 26, 2014 at 12:30

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.