how to fix this header
-
in my settings “fixed header” is activated but the header isn’t fixed on any site.
here is my header.php : where is the fault?
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<meta name=”viewport” content=”user-scalable=0, width=device-width, initial-scale=1, maximum-scale=2.0″/>
<?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<?php do_action( ‘et_after_body’ ); ?>
<?php
$header_type = etheme_get_header_type();
?><div class=”template-container”>
<?php if ( is_active_sidebar(‘top-panel’) && etheme_get_option(‘top_panel’) ): ?>
<div class=”top-panel-container”>
<div class=”top-panel-inner”>
<div class=”container”>
<?php dynamic_sidebar( ‘top-panel’ ); ?>
<div class=”close-panel”></div>
</div>
</div>
</div>
<?php endif ?>
<div class=”mobile-menu-wrapper”>
<div class=”container”>
<div class=”navbar-collapse”>
<?php if(etheme_get_option(‘search_form’)): ?>
<?php etheme_search_form( array(
‘action’ => ‘default’
)); ?>
<?php endif; ?>
<?php etheme_get_mobile_menu(); ?>
<?php etheme_top_links( array( ‘short’ => true ) ); ?>
<?php dynamic_sidebar(‘mobile-sidebar’); ?>
</div><!– /.navbar-collapse –>
</div>
</div>
<div class=”template-content”>
<div class=”page-wrapper”><?php get_template_part( ‘headers/’ . $header_type ); ?>
- The topic ‘how to fix this header’ is closed to new replies.