Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[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
  • #480357
    Janet Davis


    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

    GeneratePress 2.0.1
    GP Premium 1.5.6
    Customer Support

    Hi there,

    Try this CSS:

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

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

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