tbpmlk
MemberForum Replies Created
-
display:none; didn’t work but i deleted height and width lines in the css and this time it’s done!
thanks for your help
this is the css code:
#header {
background-position: center top;
background-repeat: no-repeat;
border-top: 1px solid #000000;
height: 198px;
position: relative;
width: 100%;
}
yes, swf on the top. it looks like this:
|||||SWF banner|||
<<wierd space with shadow effect>>
|||nav.menu|||
—other contents—
i’m working locally
i’m able to hide the header_img but this time there is still remaning an empty space with some shadow around.
swf
—epmty space—
–other contents–
here’s the header.php codes. which part exactly do i need to delete? :
<?php
if ($post)
$post_id = $post->ID;
else
$post_id = false;
$header_img = apply_filters('graphene_header_image', graphene_get_header_image($post_id));
/*
* Check if the page uses SSL and change HTTP to HTTPS if true
*
* Experimental. Let me know if there's any problem.
*/
if (is_ssl() && stripos($header_img, 'https') === false) {
$header_img = str_replace('http', 'https', $header_img);
}
// Gets the colour for header texts, or if we should display them at all
if ('blank' == get_theme_mod('header_textcolor', HEADER_TEXTCOLOR) || '' == get_theme_mod('header_textcolor', HEADER_TEXTCOLOR))
$style = ' style="display:none;"';
else
$style = ' style="color:#' . get_theme_mod('header_textcolor', HEADER_TEXTCOLOR) . ';"';
?>
<div id="header" style="background-image:url(<?php echo $header_img; ?>);">
<?php if ($graphene_settings['link_header_img']) : ?>
<a>" id="header_img_link" title="<?php esc_attr_e('Go back to the front page', 'graphene'); ?>">Â </a>
<?php endif; ?>here’s the situation:
swf
—-header img—-
–other contents–
so the “swf” and “header img” are both visiable and i need “header img” to hide.
i created an action hook on the upper side and inserted .swf content but i couldn’t hide the header.
#header {display:none;} didn’t work or i couldn’t do
Viewing 8 posts - 1 through 8 (of 8 total)
