change fixed header position
-
Hi support,
I think this is not a real problem for you guys but for me its irritating me!
If you look on my page(fittestbody.nl), you can see that i have allowed the sticky header. I also installed i plugin that displays a sticky contact bar on the top of the site. I just want my sticky header(the one with my logo and menu in it(white) just 35px or something sticky below the top.
I figured out that i have to change something in the function:
function thinkup_input_headersticky($classes) {
global $thinkup_header_stickyswitch;if ( $thinkup_header_stickyswitch == ‘1’ ) {
$classes[] = ‘header-sticky’;
}
return $classes;
}
add_action( ‘body_class’, ‘thinkup_input_headersticky’ );If I inspect the sticky header with firefox firebug; i can see that
element.style {
top: 0;
}is the problem. But i dont know where i can change that. Has that something to do with the function above?
If I change the top:0; in element.style in firefox firebug, the problem is gone. But i really dont know where i cant find this in my theme files(css? header? functions??)
I really hope you guys can help me, because i hate that i dont know how to fix it!
- The topic ‘change fixed header position’ is closed to new replies.