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 »

Header widget positioning


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 Jun 19, 2011, 05:06 PM
jtsharp
 
21 posts · Mar 2010
I know this has probably been asked before, and it's more a CSS question than anything, but I can't seem to find the answer after searching for an hour both here and on W3 schools. I'm trying to position a widget with a phone number in the top right of the header area. I can get it where I want, but when I go to resize the window horizontally (smaller) , the phone number doesn't "go with" the header. Any suggestions?

http://www.drmichaelgriffith.com

ATA 3.6.4
  #2  
Old Jun 19, 2011, 05:23 PM
juggledad's Avatar
juggledad
 
19,987 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
This is one of the messy things about positioning. If you make it 'absolute', it doesn't move at all, make it 'relative' and the space it was in remains unless you use a height of '0' and if you make the page small enough it floats off the edge, but try and see if this helps and give the page a minimum width.
HTML Code:
div#header_widget {
    color: #6A270A;
    font-family: 'Oswald',arial,sans-serif;
    font-size: 34px;
    font-weight: bold;
    height: 0;
    position: relative;
    right: -850px;
    top: -70px;
}
  #3  
Old Jun 19, 2011, 05:37 PM
jtsharp
 
21 posts · Mar 2010
That does help in the sense that the text stays on one line when I resize the window, but it still meanders outside of the white header space when the window gets small enough. I set a minimum width of 900px, but that's arbitrary. Hm...
  #4  
Old Jun 19, 2011, 08:46 PM
lmilesw's Avatar
lmilesw
 
9,381 posts · Jul 2009
Central New York State USA
You just have to set a minimum width for you layout and perhaps adjust the right position.
__________________
~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.
  #5  
Old Jun 19, 2011, 09:37 PM
jtsharp
 
21 posts · Mar 2010
Thanks to both of you for the responses I feel pretty embarrassed here, but I must be missing something with the minimum layout. I tried several different "sizes" (500 px, 900 px, 1000 px, etc.) and couldn't notice any difference when I resized my window. The widget's text is still spilling over into the tan background. I apologize if this is an easy fix that I'm just not understanding!
  #6  
Old Jun 20, 2011, 03:52 AM
juggledad's Avatar
juggledad
 
19,987 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
you need to make sure the phone number in positioned inside the minimum width of the page

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Positioning RSS buttons in header qbuster Header configuration & styling 2 Oct 25, 2010 09:34 AM
Positioning Google Translation Element in Header arlandiz Header configuration & styling 0 Aug 13, 2010 05:39 PM
Positioning the header icon (?) GrahamW Header configuration & styling 13 Aug 12, 2010 08:28 AM
Positioning widget onto logo area creates extra spacing in the overall header area cab262 Header configuration & styling 1 May 20, 2010 01:14 PM


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


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