Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1184466
    machulnyy
    Participant

    Hi,

    I’d like to change the default contact form 7 submit button style (which was assigned the x-btn class by default) to be a different class: x-btn btn-hover3 x-btn-transparent x-btn-rounded x-btn-jumbo (which is the styling i used for my buttons elsewhere on my site).

    I used Safari’s web inspector console to learn which button class is which, but i have no idea how to apply them to the CF7 buttons. But maybe that’s not the best way to do it. So to keep it simple: I’d like to make the button of my Contact Form to look like other buttons on my site, which are the Transparent button type in Cornerstone.

    Thanks!

    #1184479
    Thai
    Moderator

    Hi There,

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1192126
    machulnyy
    Participant
    #1192139
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> JavaScript :

    jQuery("input[type='submit']").addClass("x-btn btn-hover3 x-btn-transparent x-btn-rounded x-btn-jumbo");

    Hope that helps.

    #1192195
    machulnyy
    Participant

    Hey, already fixed by going to customiser, buttons and changing the default button type for the whole site. Thanks nonetheless!

    #1192199
    machulnyy
    Participant

    Another question. The form refused to send emails. Once pressed Send, a message confirming it was successful would pop up but I would not receive anything. After doing some quick research i found that apparently many hosting providers are not set up properly to handle the php mail() function that wordpress uses by default. So I dowloaded the WP SMPT mail plugin and now when I press send, i get the following error: JSON Parse error: Unrecognized token ‘<‘

    Please help me get the form functioning properly and send the form via email once Send is pressed!

    Thanks!

    #1192207
    Joao
    Moderator

    Hi There,

    Please install the plugin below to fix this issue.

    WP-SMTP

    WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin

    Hope that helps

    Joao

    #1192275
    machulnyy
    Participant

    yeah this is what i meant when i said I’ve installed the WP SMPT mail plug in

    #1192298
    Paul R
    Moderator

    Hi,

    You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    #1192589
    machulnyy
    Participant

    You guys are brilliant. Thanks!

    #1192610
    Prasant Rai
    Moderator

    Thanks for the good words. It means a lot to us. Feel free to ask us again. Have a great day! 🙂

  • <script> jQuery(function($){ $("#no-reply-1184466 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>