Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1466440

    Hello,

    I’ve been trying to change the subscribe button for the mailerlite form I have on my website, but it’s not working. Do you have any suggestions?

    It’s on the homepage, created using the Mailerlite plugin.

    Another option is that I’ve tried to make one using the Mailerlite HTML form builder (on the test homepapge), but this adds extra padding that I can’t get rid of.

    Thanks,
    Rosa

    #1466457

    Hey rosalewis,

    What exactly are you looking to change? If you have a screenshot highlighting your intentions, then please share it with us.

    Best regards,
    Rikard

    #1466458

    Hi Rikard,

    I’d like to change background colour, font colour, shape, border etc.

    More like a standard Enfold button, something like the button at the bottom of the test page.

    I can edit the exact details of the CSS but I’m having trouble getting the CSS to work i.e. anything I add isn’t being picked up by the code.

    Thanks,
    Rosa

    #1466472

    Hi,

    Thanks for the clarification. This is what is currently applying to that button:

    #mlb2-17812585.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
      background-color: #1c3052 !important;
      border: none !important;
      border-radius: 4px !important;
      box-shadow: none !important;
      color: #ffffff !important;
      cursor: pointer;
      font-family: 'Nunito', sans-serif !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      line-height: 21px !important;
      height: auto;
      padding: 10px !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    As you can see, the !important statement is added to all the attributes, so I’m not sure if you can override them. You might want to reach out to the plugin developers for further help if you can’t get your CSS to work.

    Best regards,
    Rikard

    #1466485

    Hello,

    Yes, sorry I was trying to change the button on this page:

    Or alternatively I could remove the extra padding/ space of the form on this page:

    Is either of those possible or does it have the same problem?

    Thanks,
    Rosa

    #1466487

    Hi,

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

    .mailerlite-subscribe-button-container .mailerlite-subscribe-submit {
      background-color: red;
      padding: 20px;
      color: white;
    }

    Best regards,
    Rikard

    #1466488

    Thanks. It works on mobile, but not on desktop?

    #1466502

    Hi,

    Thank you for the update.

    Please try to add this css code to move the submit button upwards and remove the extra space.

    .ml-block-form .ml-form-embedSubmit {
        top: -50px;
        position: relative;
    }

    Best regards,
    Ismael

    #1466574

    Managed to sort it out. Thanks for your help

    #1466591

    Hi,

    Great! Glad to know that this has been resolved. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Trying to change Mailerlite button style’ is closed to new replies.