Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Header - wordpress

Takhle vypadá ten header.php
a potřebuji, aby to X bylo menší - viz odkaz Ns4C9BV

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<div class="preloader">
<div class="preloader-inner">
<ul><li></li><li></li><li></li><li></li><li></li><li></li></ul>
</div>
</div>

<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'astrid' ); ?></a>

<header id="masthead" class="site-header <?php echo astrid_has_header(); ?>" role="banner">
<div class="container">
<div class="site-branding col-md-4 col-sm-6 col-xs-12">
<?php astrid_branding(); ?>
</div>
<div class="btn-menu col-md-8 col-sm-6 col-xs-12"><i class="fa fa-navicon"></i></div>
<nav id="mainnav" class="main-navigation col-md-8 col-sm-6 col-xs-12" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?>
</nav><!-- #site-navigation -->
</div>
</header><!-- #masthead -->

<?php $astrid_has_header = astrid_has_header(); ?>
<?php if ( $astrid_has_header == 'has-header' ) : ?>
<div class="header-image">
<?php astrid_header_text(); ?>
<img class="large-header" src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" alt="<?php bloginfo('name'); ?>">

<?php $mobile_default = get_template_directory_uri() . '/images/header-mobile.jpg'; ?>
<?php $mobile = get_theme_mod('mobile_header', $mobile_default); ?>
<?php if ( $mobile ) : ?>
<img class="small-header" src="<?php echo esc_url($mobile); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" alt="<?php bloginfo('name'); ?>">
<?php else : ?>
<img class="small-header" src="<?php header_image(); ?>" width="1024" alt="<?php bloginfo('name'); ?>">
<?php endif; ?>
</div>
<?php elseif ( $astrid_has_header == 'has-shortcode' ) : ?>
<div class="shortcode-area">
<?php $shortcode = get_theme_mod('astrid_shortcode'); ?>
<?php echo do_shortcode(wp_kses_post($shortcode)); ?>
</div>
<?php elseif ( $astrid_has_header == 'has-video' ) : ?>
<?php the_custom_header_markup(); ?>
<?php elseif ( $astrid_has_header == 'has-single' ) : ?>
<?php $single_toggle = get_post_meta( $post->ID, '_astrid_single_header_shortcode', true ); ?>
<?php echo do_shortcode(wp_kses_post($single_toggle)); ?>
<?php else : ?>
<div class="header-clone"></div>
<?php endif; ?>

<?php if ( !is_page_template('page-templates/page_widgetized.php') ) : ?>
<?php $container = 'container'; ?>
<?php else : ?>
<?php $container = 'home-wrapper'; ?>
<?php endif; ?>

<?php do_action('astrid_before_content'); ?>

<div id="content" class="site-content">
<div class="<?php echo $container; ?>">

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny