Support » Themes and Templates » Help with centering a button
4 years, 1 month ago
I am very new to coding and I am struggling with getting a button centered on my homepage. Here is the code for the button, any suggestions as to how I can center it? I have tried: <div style=”text-align:center”>
<?php echo thanks_button(‘Thanks’, true); ?>
Try not to use in-line styles when ever you can… Try something like this
<?php echo thanks_button('Thanks', true); ?>
and in your style.css add this
If that doesn’t help, link to your page with the problem will.