Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Dante
  • #97964
    MHC
    Member
    Post count: 247

    Hi,

    I tried to center the “Send” button by using the below code in contact form, but it’s still not perfectly centered.

    <p style="text-align: center;">[submit "Send"] </p>
    

    Please check the attached image.
    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #97973
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    input[type="submit"], .wpcf7 input.wpcf7-submit[type="submit"], .gform_wrapper input[type="submit"], .mymail-form input[type="submit"] {
      margin-right: 0;
    }
    

    – Kyle

    #97995
    MHC
    Member
    Post count: 247

    Hi Kyle,

    I added this code but it doesn’t seem to work?

    #98005
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I don’t see the css in your custom css?

    – Kyle

    #98032
    MHC
    Member
    Post count: 247

    Just checked and it’s there… Please see screenshot attached.

    Attachments:
    You must be logged in to view attached files.
    #98039
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this instead:

    .wpcf7-form-control.wpcf7-submit {
      margin-right: 0!important;
    }
    div.wpcf7 img.ajax-loader {
      display: none;
    }

    – Kyle

    #98048
    MHC
    Member
    Post count: 247

    It’s perfect now ๐Ÿ™‚

    Thank you so much!

    #98050
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, no problem! ๐Ÿ™‚

    – Kyle

    #145852
    wmstudio
    Member
    Post count: 39

    Kyle how do I LEFT ALIGN the submit button?

    #145855
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try:

    .wpcf7-form-control.wpcf7-submit {
      float:left!important;
    }

    – Kyle

    #145859
    wmstudio
    Member
    Post count: 39

    Boom! You are on fire Kyle! Thanks buddy!

    #145861
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register