Information Request Form

Responsive WordPress theme suitable for Schools, Colleges or educational websites.
GK User
Tue Mar 29, 2016 11:27 am
Hello,

How do I ensure the information request form (Get info based on your study level) block below the header slider sends the form to the appropriate recipient? What 'action' info should be filled out in the HTML code?

Pls advice. Thanks.
User avatar
Senior Boarder

Joshua M
Wed Mar 30, 2016 8:00 am
Hello,

This section is only example html code - it doesn't work. You can add a newsletter like Mailpoet here or create own form using i.e. Contact Form 7 plugin.
User avatar
Moderator

GK User
Wed Mar 30, 2016 8:58 am
I am using the contact form 7 plugin and have generated a shortcode for a form. When using that in tandem with your code to get the 'hat' icon and the text at the start of the form, it's not aligning correctly.

This is the code I am using in the widget:
<form class="gk-information">
<div><strong>Get info based on<br /> your study lavel</strong></div></form>
[contact-form-7 id="2834" title="Get Info"]

Pls advice. You can view it on the home page.
User avatar
Senior Boarder

Joshua M
Fri Apr 01, 2016 10:24 am
Try to add the following custom css code:
Code: Select all

.gk-information {
   float: left;
}
.gk-information + .wpcf7 {
   float: right;
   width: 80%;
}
.gk-information > div > strong {
   width: 100%!important;
}

#wpcf7-f2834-o1 input {
   width: 24%;
}
User avatar
Moderator

GK User
Sat Apr 02, 2016 6:47 am
The code does put the form on the same line but the alignment is still off and I can't figure out why the 'request information' button is on the left and not on the right of the form. I have tried playing around with the contact form 7 but can't figure out the buttom placement.

Pls see screenshot. Pls advice.

Thank you.
User avatar
Senior Boarder

Joshua M
Tue Apr 05, 2016 10:09 pm
Please add also this code to move the submit button to the right:
Code: Select all
.wpcf7 input[type="submit"] {
   float: right;
}
User avatar
Moderator

GK User
Wed Apr 06, 2016 8:13 am
Hi,

The code works great. Thanks. But I still see that the get info text and the form are not aligned like in your demo site. Please see screenshot and advice.

Thank you once again for your support.
User avatar
Senior Boarder

Joshua M
Thu Apr 07, 2016 10:04 am
Could you send me URL to your website again? Because on the website you've provided I can's see these css modifications.
User avatar
Moderator

GK User
Thu Apr 07, 2016 10:14 am
sent you via PM
User avatar
Senior Boarder

Joshua M
Thu Apr 07, 2016 11:03 am
This is the full code for this section:
Code: Select all
.gk-information {
   float: left;
}
.gk-information + .wpcf7 {
   float: right;
   width: 80%;
}
.gk-information > div > strong {
   width: 100%!important;
}

#wpcf7-f2834-o1 input {
   width: 23%;
   margin-left:1%;
}

.wpcf7-form {
    margin-top: 27px;
}

.wpcf7 input[type="submit"] {
   float: right;
}

should be fine now.
User avatar
Moderator

GK User
Thu Apr 07, 2016 11:13 am
Thanks. It's perfect.
User avatar
Senior Boarder


cron