How do I make html widgets appear centred on my page?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I have added a google search box to my site using the html widget but it appears to one side of the page and I want it in the centre. I'm also creating sales buttons from paypal for another synthasite I'm working on and have the same problem. Can someone please tell me how I change the html code generated by google and paypal to make the buttons and boxes appear centred on my pages? Many thanks.
Photo of Deb

Deb

  • 1 Post
  • 0 Reply Likes

Posted 11 years ago

  • 1
Photo of Brent

Brent, Official Rep

  • 64 Posts
  • 18 Reply Likes
Official Response
Hey Deb,

Try wrapping your html code with a div tag with center alignment. For example:

...[Google or PayPal Code Here]...


Hope this helps!