Answered

How do you centre align pop out button


Hello

I am copying the embed code for Pop out so that users click on the button and form pops out.

When I past the code the button aligns to the left and I want it in the middle of the page.

I have added the following to the html code which is okay on laptop/pc but on mobile it crops the button.  It is not responsive.

width:40%;margin left:30%;margin-right:30%;

The website is WordPress

Thanks for any help on this.

Best regards

Jason

 

icon

Best answer by Liz 10 May 2021, 17:17

View original

3 replies

Userlevel 7
Badge +5

Hi @Jason Hier thanks for stopping by the community! :grinning:

You should be able to add <center> before the code and </center> after the code to place the button in the middle. 

If that doesn’t work, do you mind sharing the URL where you have the form embedded? Thanks!

Hi @Liz 

Thanks for replying:smiley:

Yep that works :thumbsup:

Best regards

Jason

Userlevel 7
Badge +5

Wahoo! Glad that worked, @Jason Hier . Let us know if there’s anything else we can help answer! :smiley:

Reply