[Resolved] centering an optin in the hook

Home Forums Support [Resolved] centering an optin in the hook

Home Forums Support centering an optin in the hook

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #480357
    Janet Davis

    Hello

    I am using the plug in Hustle plug in ( not sure this is the best but it seemed to be the only one I could try and was updated with WP. If there is a preferred plug in please let me know) to put in an opt-in form on my site that is horizontal.
    As I am building the site I have it in the after header hook with the php checked. The words I added are perfect and centered. The form is off to the left.

    Can you please assist with the code.
    This is what I have in the hook.

    <h4 style="text-align: center;"><b> We are building - and plan to officially open February 15th, 2018. </br>Sign up for our info-email to be notified of our official launch and receive a free food label information guide once published.</b></h4>
    <p style="align: center;">[wd_hustle id=e-info-sign-up type=embedded]</p>

    Thank you
    Jan

    #480419
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .hustle-modal.hustle-modal-static {
        margin: auto;
    }
    #480505
    Janet Davis

    Leo,
    Perfect! I didn’t even think CSS. I need to do think that way though.
    Thank you !!!!
    Jan

    #480780
    Leo
    Staff
    Customer Support

    No problem 🙂

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