Center Newsletter Box on Craft Theme — Keep Footer Newsletter Same

Hello,

Seeking to have my newsletter box centered only for this page, it appears to be left aligned. The footer newsletter is fine where it is. If anyone could help me that would be greatly appreciated. Thank you so much.

https://thetypefella.com/pages/newsletter

Hi @jmd92

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

form#contact_form {

flex-direction: row !important;

max-width: 100% !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

1 Like

Hello @jmd92

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media only screen and (min-width: 750px){ .newsletter-form { margin: 0 auto !important; } }

1 Like

Hi @jmd92

I’m Dan from Ryviu: Product Reviews & QA

Please add this code to your theme.liquid file after in Online Store > Themes > Edit code to change the newsletter box for this page only

{% if page.id == 95100567715 %}

{% endif %}

Best Regards,

Dan from Ryviu

1 Like

Worked perfect thank you!

Thank you!

Thank you!

1 Like

Very welcome

welcome @jmd92 :smiley: