Center Button on Squarespace, using code block | Community
Skip to main content

I’m embedding a Typeform contact form into a single Squarespace blog post using a block code.

I was able to manipulate the code a bit to get the initial button to match my branding, but cannot figure out how to center it. I

I’ve attached a snapshot of the code and how it currently looks (the blog is unpublished at the time of this posting).

Can anyone familiar with this concept please help me, a coding noob, to center that initial button?

 

Hi @hbeckwith Happy Wednesday! All you have to do is add: 

<center>

before the code and 

</center> 

after the code. 

Let me know if that doesn’t work!


Hey @hbeckwith how’s it going?

Let us know if Liz suggestion worked for you or if you need any more help! 😊


@Liz @Grace 

 

Liz’s answer did not work. 


Hm, can you send the URL where you have the form embedded with that code, @hbeckwith ?


Hm, can you send the URL where you have the form embedded with that code, @hbeckwith ?

http://hilarybeckwith.com/blog/food-sensitivity-test


Thanks, @hbeckwith ! I’m not seeing those center tags added around the code. Could you please add those? 
 

 


Thanks, @hbeckwith ! I’m not seeing those center tags added around the code. Could you please add those? 
 

 

I tried them and when they didn’t work, I removed them.


@hbeckwith Could you please add them back so I can take a look at what happens when they’re added? 


@hbeckwith Could you please add them back so I can take a look at what happens when they’re added? 

It didn’t work initially, and now appears to be working, so this is resolved. Thank you anyway!


@hbeckwith Wooo! Sounds like a little Fri-yay

 


Reply