KarlCroft Posted October 3, 2014 Share Posted October 3, 2014 Hi, I am trying to get my contact form from page into header. I have been at his for days now, I can get the contact form into the header with this <?php echo do_shortcode( '[contact-form 1 "Contact form 1"]' ); ?> but can not get it to sit centrally and in front of image. This is my site, http://www.cloudchasing.co.uk/ The site style that I am trying to emulate is this one http://www.premierwindscreens.co.uk/ Pleeeease help a newcomer Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/ Share on other sites More sharing options...
ginerjm Posted October 4, 2014 Share Posted October 4, 2014 Your definition terms are confusing. You want to get "a contact form" (html?) into a "header" (a PHP include module perhaps?) ? Uhhh... Could you be a little more specific in your description so that we can at least understand what you are trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/#findComment-1492668 Share on other sites More sharing options...
jcbones Posted October 4, 2014 Share Posted October 4, 2014 This sounds more like a css issue. Perhaps you can fix it with z-index? = http://philipwalton.com/articles/what-no-one-told-you-about-z-index/ Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/#findComment-1492670 Share on other sites More sharing options...
KarlCroft Posted October 4, 2014 Author Share Posted October 4, 2014 Hi, I am trying to put a contact form via shortcode into an image header (header.php) on website. I have managed to do so but the image is pushed down the page, I want the contact form to sit on top of the image. Hope this makes more sense Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/#findComment-1492678 Share on other sites More sharing options...
KarlCroft Posted October 4, 2014 Author Share Posted October 4, 2014 The contact form is currently below in page itself end consists of ,registration,email,phone Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/#findComment-1492679 Share on other sites More sharing options...
jcbones Posted October 4, 2014 Share Posted October 4, 2014 Refer to post #3. Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/#findComment-1492690 Share on other sites More sharing options...
KarlCroft Posted October 4, 2014 Author Share Posted October 4, 2014 Ok cool thanks Quote Link to comment https://forums.phpfreaks.com/topic/291424-contact-fm-shortcode-into-header-and-in-front-of-image/#findComment-1492696 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.