Jump to content

Image appearing 2 times


Recommended Posts

Hi, I have one URL - writerrelocations.com/contact-now/

I have one issue where my header Image is appearing again after the contact form, for your reference:


I have checked my processwire template section where have not added any Image field besides Header Image, attaching the same for the reference:


PLEASE help me to get rid of the image below contact form

Waiting for the swift response!



Link to comment
Share on other sites

Moderator note: this is not a tutorial thread, so I'm moving it to the General Support area of the forum instead. Please keep in mind that the tutorial area is only intended for the posting of helpful tips and solutions. Thanks!

  • Like 2
Link to comment
Share on other sites

@Mithlesh, After looking at your template code, I do see the following (lines 18-29)

<section class="map-image">
<div class="container">
	<div class="row">
		<div class="col-md-12 col-sm-12 col-xs-12">
                <img src="<?php echo adapt($page->header_image->last()); ?>">      
 <!-- Tab Address -->

All of this is coming in after the $form rendering on line 13. If you were to remove the section I posted above, the header image would not display.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...