![]() |
help: trying to center a button in a text widget
What is the best way to center, or otherwise align, pad, marginate (a word?) the contents of a text widget? I've inserted an "<a href=" link ref for the button into the text widget and the button is crammed all the way over against the left side of the widget.
Sort of in conjunction with the above: I am right in assuming that CSS changes done in the "Theme Options" CSS Inserts are stored in the WP database and should therefore survive either a WP or Atahualpa update? Would setting up a "child theme" CSS file be an option? All my CSS changes/additions could be placed in the "child".css I hope the above doesn't make it sound too much like I know what I'm doing. Tnx Jim |
Try to wrap it into a container like this
HTML Code:
<div style="text-align:center"> Of course if you want to add more styles or even use that container multiple times, adding the styles through CSS Inserts would be better. Do do that, you'd give the container a class of any name HTML Code:
<div class="my-button-widget"> HTML Code:
div.my-button-widget { HTML Code:
div.my-button-widget { |
Thank you, Flynn! Sorry I'm so late with the thanks. Life on the farm sort of got in the way.
|
All times are GMT -6. The time now is 02:10 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.