Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] 2px of white above the header (http://forum.bytesforall.com/showthread.php?t=16267)

_kimberley Dec 15, 2011 02:45 AM

[SOLVED] 2px of white above the header
 
1 Attachment(s)
I got a problem with the header. I can't get the 2px of white disapear...

See attachment for detals...

Does anyone know where I can fix this problem? I tried to add #header {margin -2px 0px 0px 0px} to style.css but it doesn't work.

juggledad Dec 15, 2011 04:35 AM

(for the millionth time)
What version of Atahualpa and WP?
What is the URL?

_kimberley Dec 15, 2011 05:13 AM

Problem solved, what I did was follow your directions and add a div

<div style="margin:-2px 0px -10px 0px;"></div>

So now I had this:
<div style="margin:-2px 0px -10px 0px;"><img src="http://www.lasvegascity.nl/wp-content/themes/atahualpa/images/header/header_
<? php
$hour = date('Hi'); // hour of the day, 24 hour clock
if ($hour > 1759 or $hour < 600) {
$timepic = 'night';
} elseif ($hour > 1200) {
$timepic = 'day';
} else {
$timepic = 'morning';
}
echo $timepic;
?>.png"></div>


Again great!! You helped me very quick and clearly


All times are GMT -6. The time now is 09:56 PM.

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