Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Vertical Alignment of text in Widget Title with Image Inserted


  #1  
Old Dec 23, 2011, 09:15 AM
swimflyfast2's Avatar
swimflyfast2
 
150 posts · Aug 2010
Horse Country in Virginia
Vertical Alignment of text in Widget Title with Image Inserted

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, 01:34 PM
lmilesw's Avatar
lmilesw
 
10,176 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 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 07:13 AM.


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