Viewing 30 posts - 1 through 30 (of 31 total)
  • Author
    Posts
  • #869266

    How do I change the button and font color of “submit” button in contact form?

    In a previous post I readed this answer:

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed

    .main_color input[type=’submit’] {
    background-color: orange;
    color: black;
    border-color: orange;
    }
    .main_color input[type=’submit’]:hover {
    background-color: red;
    color: white;
    border-color: red;
    }

    I done it but the button is changed in all the website. I need to change the colour just in a page.

    Can you help me?

    • This topic was modified 7 years ago by morilumi.
    #869273

    open your page on which you like to change it – goto your browser menu and look to the source code.
    The body has the page id (looks this way page-id-2604) and is a class . Because body is a parent of main_color class

    than try (in my example)

    .page-id-2604  input[type='submit'] {
    background-color: orange ;
    color: black;
    border-color: orange;
    }
    .page-id-2604  input[type='submit']:hover {
    background-color: red;
    color: white;
    border-color: red;
    }
    #869290

    thanks

    #869558

    Hi morilumi,

    Glad Guenni007 could help you :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #956913

    Hello – How can I define a custom font for the submit button? It seems to want to default to ARIAL?

    Thanks!

    #957329

    Hi enoteware,

    Please try this in Quick CSS to see if you have any luck with it:

    input[type='submit'] {
      font-family: Verdana !important;
    }

    Best regards,
    Rikard

    #1080326

    Hi everyone”
    How can you change the color of the button? Post comment comment area?

    #1080693

    Hey sacha,

    Please provide a URL to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1080769

    yes, sure, I put the linkin private,
    Thanks!
    Sincerly:
    Sacha

    #1081007

    Hi,

    Add this to quick css:

    .main_color #submit, .main_color input[type=submit]{
        background-color: red!important;
        color: #fff!important;
        border-color: red!important;
    }

    Adjust the color to what you need.

    Best regards,
    Jordan Shannon

    #1081612

    Thank you ! Perfect it worked!
    Now, however, I would like to improve the whole comment area; how can I insert associated labels?

    -I would also like to invert the positions and put the text field first, after the “name” field and delete the “website” field

    -and in the end I’d like every nickname that made a comment to have a link to a page where you can show all its comments … is this possible?

    Best regards
    Sacha

    #1081622

    Hi,

    The above would require a more advanced contact form. You would need to look into Contact Form 7 or Gravity Forms.

    Best regards,
    Jordan Shannon

    #1081699

    ok, Thanks,
    I do not know Gravity Forms , and Contact Form 7 too..
    What abaut it?
    Thanks
    Best regards,
    Sacha

    #1081714

    Hi,

    These are plugins that have more features than the default contact form built into the theme.They suit better to what you are looking to accomplish:

    Best regards,
    Jordan Shannon

    #1081718

    I don’t think it’s what I am looking for, contact form, if I understand correctly, it manages the contact forms, I don’t think it has functions that concern the comments area …

    #1083348

    Hi,

    Sorry for the confusion. This plugin should help you customize the comment form.

    // https://wordpress.org/plugins/comment-form/

    Best regards,
    Ismael

    #1348268

    I’ve been all through the forum and no matter what I try, I cannot get the text field background color to change AND
    Get the submit text color to change
    AND
    The submit button border.

    I’ve tried absolutely everything!

    I can get the button background to change – but nothing else

    I can get the text field background and the submit button text to change – but then the button border just disappears!

    I’m sunk!

    #1348286

    I have a few pages that need a different color text field background to the contact form. (still need submit button help – that’s the same across all pages) BUT this code worked on 1 page and that’s it – no other page or posts.

    AND I have one page and 2 more posts I need this to work on – but I substitute the page or post id and nothing happens!! It only works on page id 1202! (the contact page)

    #top .header_color input[type='text'], #top .main_color select, #top .main_color textarea .page-id-1202{
        background-color: #f8f8f8;
        color: #3c5c85;
    }

    This is an urgent situation. Thanks

    #1348310

    Actually if I could just get the code to make the submit button on the contact form clear – transparent – then that solves that issue, then just need the color of the text in the button to be #3C5C85

    #1348325

    Hi,
    Please try this css:

    #top #main input[type='submit'].button {
        background-color: transparent;
        color: #3c5c85;
        border: 1px solid #ae883d;
    }

    homepage results:
    2022-04-13_001.jpg
    contact page results:
    2022-04-13_002.jpg
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1348332

    Thank you Mike!! That is the most beautiful thing I have ever seen!! (at least in a while – lol)!!

    Now how do I get the form’s input fields background to be transparent also?

    #1348357

    Hi,
    Glad this helps, to include the text fields try updating to this css:

    #top #main input[type='submit'].button,
    #top #main input[type='text'] {
        background-color: transparent;
        color: #3c5c85;
        border: 1px solid #ae883d;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1348508

    You are beautiful Mike! Thank you so much. I appreciate you and the entire Kriesi team SO MUCH!!

    #1348541

    Hi Intell,

    Great, I’m glad that Mike could help you out :-)

    Best regards,
    Rikard

    #1349093

    Okay crew!! Use awesome guys at Kriesi! New issue.

    So now we’re using MailChimp. You geniuses have made my life easy with the changes you helped me with before translate right into that dang ‘ol MailChimp.

    One area your fix doesn’t cover in MailChimp is the text field labels are not centered like the Enfold theme.

    See what I’m talking about on the page in the private section. On the right hand side of the page, the Mailchimp form is first and below is the enfold theme form.

    So could you help me center the text field labels just like you did before with the Enfold contact form?

    Thank you so much!!

    #1349101

    And how do I change the font to match the rest of the site – Josefin Sans?

    And why is the “discover more” so different looking than the other field label font’s? Like different size and font weight.

    And can I make the MailChimp submit button not as wide? So it looks like the Enfold form submit button? Just curious. If it were possible.

    • This reply was modified 2 years, 7 months ago by Intell.
    #1349114

    Hi Intell,

    Please try the following in Quick CSS under Enfold->General Styling:

    .avia-mailchimp-form input {
        text-align: center;
        font-family: 'Josefin Sans';
    }

    Do you want the first Discover more button to look like the second one?

    Best regards,
    Rikard

    #1349130

    Yes please!! I need the Mailchimp “submit” (Discover More) button to look like the Enfolds, which yes, the 2nd one.

    Do you want the first Discover more button to look like the second one?

    Thank you sooooo much!! Really appreciate it!

    #1349175

    Hi,

    Please try this CSS as well:

    .avia-mailchimp-form input.button {
        width: auto;
        min-width: 142px;
        display: table;
        margin: 0 auto;
        padding: 20px 25px;
    }

    Best regards,
    Rikard

    #1349277

    Thank you Rikard! This is going great! Need the following:

    Now I need to figure out how to get the “message” text area of my form to show up in my website.
    And the message text area to be transparent background.
    And submit button to be #A78F4F on hover for sign up and contact forms.

    Thank you SO MUCH!!

Viewing 30 posts - 1 through 30 (of 31 total)
  • You must be logged in to reply to this topic.