How can I delete the 'contact number' and 'message' in the lead capture section please?
Don't wait, Lookup for common queries by searching below
Important Note
We have shifted our support forum with more advance feature, So if you are Pro buyer at InkThemes.com, Do ask all your support queries at http://www.inkthemes.com/community
InkThemes Support Forum » Local Business Theme
Changing the Lead Capture format
(9 posts)-
Posted 9 months ago #
-
Go to "front-page.php" present in your theme directory and remove the code given below
<input class="text required requiredField numeric" type="text" name="contact" onfocus="if (this.value == 'Contact Number') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Contact Number';}" value="Contact Number" value="<?php if(isset($_POST['contact'])) echo $_POST['contact'];?>"/> <br/> <textarea name="comments" class="message required requiredField" type="textarea" onfocus="if (this.value == 'Write Your Message Here') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Write Your Message Here';}" /><?php if(isset($_POST['comments'])) { if(function_exists('stripslashes')) { echo stripslashes($_POST['comments']); } else { echo $_POST['comments']; } } ?></textarea> <br/>Also sending image for reference

Thanks.
Posted 9 months ago # -
Thanks Gourav! Just a couple more things:
1. I have removed the message box and kept the contact name box.
However, I want to change the text that shows on the front page from Contact Name to Your Website URL.
I changed the text in the line of code you showed me above (109), but it hasn't changed the text on the front page.
2. I want to centre the boxes. At the moment they are to the left.
Hope you can help again.
Thank you!Posted 9 months ago # -
1.Go to "front-page.php" present in your theme directory and follow the instruction as shown in image given below

2.Paste this code in Custom CSS
Appearance > Theme Option > Styling Option > Custom CSS.signup .signupform{ text-align:center; }Thanks.
Posted 9 months ago # -
That's great, Gourav!
The submit button is not centred - how can I do that please?
Thanks for your help.
Posted 9 months ago # -
Please share the link of your website.
Thanks.
Posted 9 months ago # -
crimsafewebsites.com
Posted 9 months ago # -
Paste this code in Custom CSS
Appearance > Theme Option > Styling Option > Custom CSS.signupform input.btnsubmit:hover{ margin-left: 35px; } .signupform input.btnsubmit{ margin-left: 35px; }Adjust the value as per your requirement.
Thanks.
Posted 9 months ago # -
Thanks. I've adjusted it and it looks great!
Cheers!Posted 9 months ago #
Topic Closed
This topic has been closed to new replies.