Home Forums Newsletter Plugin Support Shortcode with name and email

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #92270
    tapioca
    Participant

    The minimal shortcode [newsletter_form type="minimal"] displays only email and button in a single line. How do I add a name field just in front of the email on the same line?

    I couldn’t find a way to do it through your documentation. It will always give me different lines if I try the form:

    [newsletter_form]
    [newsletter_field name="email" label="Your best email"]
    [newsletter_field name="first_name" label="Your name"]
    [/newsletter_form]

    Basically I just want name, email and signup button all on the same line. How to do this?

    #93169
    Stefano
    Keymaster

    You need to force it with specific CSS rules.

    Stefano.

    #93729
    tapioca
    Participant

    Hi Stefano,

    It seems it’s not that simple. The minimal form has the label right inside the field so it does not take up extra line. Using the form will create different line for label as well as the field, so it ended up with 4 lines. It would be so much cleaner if the name and email are on the same line and the label are inside the fields. Can you not just have an option with the extra name field in front of the email? :p

    Thanks.

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