• Resolved paulien86

    (@paulien86)


    Hi,

    I’ve tried to center the Mailpoet form but nothing has worked. It stays aligned to the left. I’ve tried to change the code to “auto” i’ve tried this link: How to Center a form with Custom CSS with WPForms and i’ve searched the web and tried every tip I saw, but nothing has helped. What am I doing wrong?

    Thanks,
    Paulien

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hi @paulien86,

    To align your form in the center of the page, please add this CSS to the “Additional CSS” section in your Customizer under Appearance > Customize:

    mp_form_below_posts1 { width: 341px; margin: auto; }

    Let me know if it works!

    Thread Starter paulien86

    (@paulien86)

    Hi @bruberries
    Thanks for your response! Unfurtunately it didn’t work. I added it below all the other codes, is that ok? I’m trying to copy it so you can see how it looks but it looks like I can’t paste it here.

    Plugin Author Bruna a11n

    (@bruberries)

    Sorry, @paulien86. My bad here! I forgot to add # to the CSS I shared previously.

    It should be #mp_form_below_posts1 { width: 341px; margin: auto; }

    Thread Starter paulien86

    (@paulien86)

    Thank you @bruberries I’ve tried it again with the # but still nothing… ??

    Plugin Author Bruna a11n

    (@bruberries)

    Hi @paulien86,

    I tested it on my test website, and it works. When checking your form, I don’t see the margin: auto; applied to the form’s CSS. Can you please share a screenshot of where you added the CSS to your website?

    Also, can you try using margin: auto !important;?

    Thread Starter paulien86

    (@paulien86)

    Hi @bruberries,
    I appreciate your help! Ik hope you can see the code in this screenshot.

    Thread Starter paulien86

    (@paulien86)

    (I’ve tried to paste the whole code, but I can’t paste it here)

    Plugin Author Bruna a11n

    (@bruberries)

    Hi @paulien86,

    Please add this CSS to the “Additional CSS” section in your WordPress admin > Appearance > Customize > Additional CSS instead.

    Thread Starter paulien86

    (@paulien86)

    Hi @bruberries
    Yes it worked!! Finally! Thank you so much!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Mailpoet form centered’ is closed to new replies.