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

[closed]

Changing the Lead Capture format

(9 posts)
  1. susannah
    Member

    Member
    Joined: Aug 2012
    Posts: 22

    How can I delete the 'contact number' and 'message' in the lead capture section please?

    Posted 9 months ago #
  2. Gourav
    Support Staff

    Support Staff
    Joined: Jun 2012
    Posts: 1,735

    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 #
  3. susannah
    Member

    Member
    Joined: Aug 2012
    Posts: 22

    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 #
  4. Gourav
    Support Staff

    Support Staff
    Joined: Jun 2012
    Posts: 1,735

    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 #
  5. susannah
    Member

    Member
    Joined: Aug 2012
    Posts: 22

    That's great, Gourav!

    The submit button is not centred - how can I do that please?

    Thanks for your help.

    Posted 9 months ago #
  6. Gourav
    Support Staff

    Support Staff
    Joined: Jun 2012
    Posts: 1,735

    Please share the link of your website.

    Thanks.

    Posted 9 months ago #
  7. susannah
    Member

    Member
    Joined: Aug 2012
    Posts: 22

    crimsafewebsites.com

    Posted 9 months ago #
  8. Gourav
    Support Staff

    Support Staff
    Joined: Jun 2012
    Posts: 1,735

    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 #
  9. susannah
    Member

    Member
    Joined: Aug 2012
    Posts: 22

    Thanks. I've adjusted it and it looks great!
    Cheers!

    Posted 9 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.