Before you ask please READ THIS

Centre Mailchimp for WP form

edited January 2017 in Agency Posts: 70
See attached screen, I don't seem to be able to centre my form? Is it possible to have it centred? Or do I have to purchase premium Mailchimp for WP?

Thanks.
Untitled-1.jpg
1824 x 840 - 220K
Post edited by designdogs on

Comments

  • Posts: 422
    Try to add this style to your form: http://nimb.ws/X3Shgy

    With Regards
    Daniel
    Lead Graphic Designer
  • Thank you for the fast reply. It didn't work, maybe an error in my code. See screen shot, can you see anything wrong?

    Thanks.
    Untitled-4.jpg
    846 x 627 - 129K
  • edited January 2017 Posts: 422
    Yes, you have a mistake: http://nimb.ws/ldDgVu
    You have "centre" and it should be "center"

    With Regards
    Daniel
    Post edited by Daniel on
    Lead Graphic Designer
  • Thank you. The word email address is now centred but not the rest. See 2 screen shots.

    Thank you again for fast reply.
    Untitled-5.jpg
    1452 x 507 - 79K
    Untitled-6.jpg
    816 x 519 - 121K
  • AirAir
    Posts: 10,970
    Well link to this page would help a ton so we could see what HTML is there exactly, and could target it with custom CSS. In other case use Visual Composer options to center it.

    With kind regards.
  • I can provide log in. Site is not live. I have tried with VC.
  • AirAir
    Posts: 10,970
    Send me access via private message- that is all I need to tackle such topic faster.
  • PM sent thank you.
  • Posts: 422
    Refresh the page now and let us know.
    Lead Graphic Designer
  • You are a hero. Thank you very much :)

    Could you please tell me how to edit CSS for this so I can do it on my Starter site? I need to centre my "sign up button" on Starter site.
  • AirAir
    Posts: 10,970
    Everything you will find In form that you edited :-)
  • Thanks. I have fixed it on Starter now :)

    On website you just fixed for me is it possible to have a rounded pink button and slightly bigger please? Same as attached screen shot but pink instead of blue?

    This pink:
    #e5055d

    I know this is a lot to ask but I'm almost finished.

    Thank you.
    Untitled-7.jpg
    1230 x 273 - 64K
  • edited January 2017 Posts: 422
    Right now on the Starter theme this option is enabled: http://nimb.ws/JMiaRb
    that means that the mailchimp use the starter CSS styles so you can change the colors in the settings here: http://nimb.ws/naCAjd .

    Like you see there is no option for size so you must do it using the Custom CSS, try this one:
    input[type="submit"] {
    font-size: 14px;
    padding-left: 40px;
    padding-right: 40px;
    height: 46px;
    line-height: 48px;
    border-radius: 50px;
    }
    I made everything bigger but if you want you can change the font size, paddings and height but remember if you change the height you must also change the line-height eg.
        height: 56px;
    line-height: 58px;
    P.S The same story you can implement in the Agency Theme, just enable the option from my first link in the mailchimp tab.

    With Regards
    Daniel
    Post edited by Daniel on
    Lead Graphic Designer
  • This all worked thank you very much. One more question with it:

    How do I add more padding above the button so there is space between the enter email field and button. I will need to do this on Starter as well.

    Thank you very much again.
  • AirAir
    Posts: 10,970
    If you plan on creating sites for clients then learning some CSS and use of firebug or similar tool will move your work faster :-)

    For this particular form this custom CSS should help:
    .mc4wp-form input[type="submit"] {
    margin-top: 20px;
    }
    With kind regards.
  • Ah I was trying to add padding-top instead of margin.

    Thanks for the advice.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!