Mithlesh Posted August 7, 2019 Share Posted August 7, 2019 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! Thanks Link to comment Share on other sites More sharing options...
cstevensjr Posted August 7, 2019 Share Posted August 7, 2019 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! 2 Link to comment Share on other sites More sharing options...
bernhard Posted August 7, 2019 Share Posted August 7, 2019 Are you using markup regions? Those can lead to unexpected output sometimes. Link to comment Share on other sites More sharing options...
Mithlesh Posted August 7, 2019 Author Share Posted August 7, 2019 I am not sure @bernhard Although, I checked the files section of the template, attaching the same for your reference: Please check and let me know how to go ahead for the same Link to comment Share on other sites More sharing options...
louisstephens Posted August 7, 2019 Share Posted August 7, 2019 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. Link to comment Share on other sites More sharing options...
Mithlesh Posted August 7, 2019 Author Share Posted August 7, 2019 Surely, I can do that! Attaching the template PHP file for your reference @louisstephens Kindly guide me Link to comment Share on other sites More sharing options...
louisstephens Posted August 7, 2019 Share Posted August 7, 2019 @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. 1 Link to comment Share on other sites More sharing options...
Mithlesh Posted August 7, 2019 Author Share Posted August 7, 2019 Thanks @louisstephens, it's resolved! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now