Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Vertical Alignment of text in Widget Title with Image Inserted

Old Dec 23, 2011, 09:15 AM
swimflyfast2's Avatar
150 posts · Aug 2010
Horse Country in Virginia
I want my text to align vertically and horizontally so it is in the absolute center.

I have tried align: text-middle; no go vertically
I have tried text-align: middle; no go vertically

text-align: center; does work to center text horizontally.

HTML Code:
#text-2 .widget-title h3 {
background: url('http://www.online.rssupplyllc.com/images/widget-title-orange-left.jpg');
text-align: center;
text-align: middle;
Testing Website Location
Old Dec 23, 2011, 01:34 PM
lmilesw's Avatar
10,175 posts · Jul 2009
Central New York State USA
Not sure what you want to do and some of your CSS is not valid.

You have display:hidden which is not valid CSS. What do you want it to do.

text-align: middle is also not valid. vertical-align: middle is but doesn't really work. To vertically center text in an area I use padding.

text-align: center should work however

For help with syntax both w3schools.com and Firebug are invaluable.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.


text align widget, widget title image

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Page menu item - vertical text alignment deuxetoiles Page & Category Menu Bars 12 Jun 13, 2012 10:09 AM
Vertical alignment of text to images Gnopps Atahualpa 3 Wordpress theme 3 Jul 12, 2010 04:46 AM
Impossible to left align text after inserted image on page tootsweet Center area post/pages 4 May 18, 2010 06:53 AM
Different formatting of caption text depdening on how image inserted Pommie Atahualpa 3 Wordpress theme 4 Jun 14, 2009 03:22 PM

All times are GMT -6. The time now is 02:30 AM.

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