Nov 9, 2018 12:51 PM
I am unable to center the element on my unsubscribe page. Can manipulate the element.style margin via inspect, but does nothing when I apply this to the head markup or wrapping.
Have had similar issues with hs forms, ect. Would love to know if there is a universal workaround for this...
Nov 9, 2018 4:09 PM
Nov 9, 2018 4:18 PM
@alt36, apologies for lack of clarity on my part --
you will need to share a page preview or published page using that template. I will not be able to view any template links. Anything in the design manager requires you to be logged into that acct.
Nov 9, 2018 4:37 PM
Ok, so I'm clealy inept when it comes to this sort of thing, but hopefully this works.
It's an email template so I cant publish it, but tested it out in incognito so hoping this works.
Nov 9, 2018 4:52 PM - edited Nov 9, 2018 5:09 PM
so the input needs the margin-left: 0 replaced with margin: 0 auto
<input class="email-edit hs-input" type="email" style="padding: 6px; font-size: 15px; width: 507px; margin: 0 auto;" placeholder="firstname.lastname@example.org" name="email" value="">
would also suggest removing the margin-left: 5% from the span12 which is causing overflow.
If this is an email template many email clients do not respect margins. You will want to rethink the markup. also, forms will not necessarily work in an email. Run through litmus or the hubspot email testing service.
here is the result with edits