[Theme: Lubith] Error with open header
-
Hello,
I’ve got a problem with loading header. On home page everything is fine but when I open another page, header is in different position. What’s wrong?
Webiste: http://www.spmp.plHeader:
<?php /** * The Header for our theme. */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php /* * Print the <title> tag based on what is being viewed. * We filter the output of wp_title() a bit -- see * twentyten_filter_wp_title() in functions.php. */ wp_title( '|', true, 'right' ); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/style-ie8.css" /> <![endif]--> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php /* We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="wrapper" class="hfeed"> <div align="right" style="top: 30px; right: 5px; float: right; position: relative; z-index: +1;" class="ribbon" ><?php if ( function_exists( 'the_msls' ) ) the_msls(); ?> <a href="http://www.facebook.com"><img border="0" src="http://www.newburyparkpastries.com/content/images/core/facebook_icon.png" align="right" style="float: right;" class="ribbon" ></a> </div> <div id="header" role="banner"><a id="headlink" href="<?php echo home_url( '/' ); ?>"></a> <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title"> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </<?php echo $heading_tag; ?>> <a id="logo" href="<?php echo home_url( '/' ); ?>"></a> <div id="site-description"><?php bloginfo( 'description' ); ?></div> <div id="access" role="navigation"> <?php /* hidden div to preload the hover image */ ?> <div id="preloader"></div> <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?> <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div> <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> </div> <!-- #access --> </div><!-- #header --> <div id="main">
The topic ‘[Theme: Lubith] Error with open header’ is closed to new replies.