Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Vertical Alignment of text in Widget Title with Image Inserted


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 23, 2011, 10:15 AM
swimflyfast2's Avatar
swimflyfast2
 
148 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 {
display:hidden;
background: url('http://www.online.rssupplyllc.com/images/widget-title-orange-left.jpg');
height:44px;
text-align: center;
text-align: middle;
background-repeat:no-repeat;
}
Testing Website Location
  #2  
Old Dec 23, 2011, 02:34 PM
lmilesw's Avatar
lmilesw
 
10,107 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.

Bookmarks

Tags
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 11:09 AM
Vertical alignment of text to images Gnopps Atahualpa 3 Wordpress theme 3 Jul 12, 2010 05:46 AM
Impossible to left align text after inserted image on page tootsweet Center area post/pages 4 May 18, 2010 07:53 AM
Different formatting of caption text depdening on how image inserted Pommie Atahualpa 3 Wordpress theme 4 Jun 14, 2009 04:22 PM


All times are GMT -6. The time now is 04:11 PM.


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