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] Centering Header Widget? (http://forum.bytesforall.com/showthread.php?t=2927)

keeperleaguegm Aug 12, 2009 11:24 AM

[SOLVED] Centering Header Widget?
 
Flynn:

Love the latest version. I have set-up a custom widget area above my logo for an Ad. (http://www.nymediaexchange.com) and cannot get the image to center. I know this is pretty stuff, but I tried putting HTML within the widget and on the header set-up and can't get to center.

Thanks in advance,
Mike

Flynn Aug 13, 2009 09:47 AM

I didn't see an image that wasn't centered or an ad but you can center images or tables in CSS with

selector {
margin-left: auto;
margin: right: auto;
}

To center the whole widget area, center the table

table#my-widget-area {
margin-left: auto;
margin: right: auto;
}

The ID of your table may be different of course

keeperleaguegm Aug 13, 2009 01:17 PM

Flynn:

Solved it by reducing the number of cells to one and it centered automatically. But I seem to have inadvertantly moved my right sidebar text widget (ad) to the bottom of the first post. I'll try and figure it out...if you see what I did, please let me know. http://www.nymediaexchange.com

Mike

keeperleaguegm Aug 13, 2009 01:23 PM

Got it. Nevermind.


All times are GMT -6. The time now is 05:35 AM.

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