Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] How to center a text widget in the header area (http://forum.bytesforall.com/showthread.php?t=7562)

timanderson Jun 13, 2010 03:56 PM

[SOLVED] How to center a text widget in the header area
 
I thought this would be easy - it probably is, but I'm not succeeding at the moment.

I have a text widget in the header area. It is currently aligned left. I want it centered.

I've tried setting margin 0 auto; in various places - div.bfa_widget_area and div.textwidget - but the content remains aligned left.

The only thing I've found that works in a test is setting the container table cell to centered:

<!-- Header -->
<td colspan="3" align="center" id="header">

but I can't see how to apply this setting through options either.

What's the correct way to do this?

Thanks

Tim

juggledad Jun 13, 2010 04:13 PM

when you add a widget AREA to the header, you can then add one or more widgets to that widget AREA. The alignment will determine how the widgets are aligned in that widget AREA. if you add a widget area with one cell, it will span the header area maning alignment tough to perceive

timanderson Jun 13, 2010 04:20 PM

Thanks; yes I guess I added the header widget area. Looks like I should delete it and re-add with different configuration. I'll have a go.

Tim

timanderson Jun 13, 2010 05:08 PM

I've solved this by adding a 3-cell widget area (although I only want one) and setting align=1 and width_2=[the width I want].

Thanks

Tim


All times are GMT -6. The time now is 03:27 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.