Jump to content

Image appearing 2 times


Mithlesh
 Share

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:

image.thumb.png.0710cf9c206efbc00b6ef31d214a6a8e.png

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

image.thumb.png.e9371db3dcf7d3f8250d0f775fd8a857.png


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

Waiting for the swift response!

Thanks

 

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">
			<div>
                <img src="<?php echo adapt($page->header_image->last()); ?>">      
            </div>
 		</div>
 	</div>
 <!-- Tab Address -->
 </div>
</section>

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
 Share

×
×
  • Create New...