Jump to content
Mithlesh

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:

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

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Are you using markup regions? Those can lead to unexpected output sometimes.

Share this post


Link to post
Share on other sites

I am not sure @bernhard
 

Although, I checked the files section of the template, attaching the same for your reference:

image.thumb.png.6de8f4c499f73f25272adc1270fb6d6f.png

 

Please check and let me know how to go ahead for the same

 

Share this post


Link to post
Share on other sites

How is your template (the actual php) set up currently? If you could post a code snippet, that will help us see what is going on.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...