- This topic has 3 replies, 3 voices, and was last updated 8 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to center the Stylish Sqeeze Form Template 3 on page
Tagged: css, squeeze form, Tweaks
This is the code for squeeze form itself [wp_eStore_ssf id=1 template=3] but just not sure how to get it to center as the straight “center” code does not work and I tried a couple of other solutions on the forum for similar issues but did not work but I am not sure if I am not doing it correctly as not the familiar with html or css so need quite precise instructions.
Hi, Have you tried this tweak?
I tried that tweak but there is no float center option only right and left and I need it to centre on page.
Not all HTML elements can be centered using the simple “center” tag.
You can use the following technique to center the stylish squeeze form. Adjust the width value to get the result you want:
<div style="width: 560px; margin-left: auto; margin-right: auto;">
[wp_eStore_ssf id=6 template=3]
</div>