Jump to content
  • 0

Помогите шапкой сайта


Ронни
 Share

Question

Всем привет! Когда ставлю шапку то снизу или сверху появляется белая линия)Подскажи что нужно убрать с кода чтобы она ушла и чтобы меню встала на ее место и не было этого пространства))Спасибо большое))4d234377791f9a3b2cd54f8e18556ae26e25b72c

Скрытый текст

<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package Catch Themes
 * @subpackage Catch Box
 * @since Catch Box 1.0
 */
?><!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
    /* 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(); ?>>

<?php
/**
 * catchbox_before hook
 */
do_action( 'catchbox_before' ); ?>

<div id="page" class="hfeed site">

    <?php
    /**
     * catchbox_before_header hook
     *
     * @hooked catchbox_skiptocontain - 10
     */
    do_action( 'catchbox_before_header' );
    ?>

    <header id="branding" role="banner">

        <?php
        /**
         * catchbox_before_headercontent hook
         *
         * @hooked catchbox_main_header_image(if position above) - 10
         */
        do_action( 'catchbox_before_headercontent' ); ?>

        <div id="header-content" class="clearfix">

            <?php
            /**
             * catchbox_headercontent hook

             * @hooked catchbox_headerdetails - 10
             * @hooked catchbox_header_search - 20
             */
            do_action( 'catchbox_headercontent' ); ?>

        </div><!-- #header-content -->

        <?php
        /**
         * catchbox_after_headercontent hook
         *
         * @hooked catchbox_main_header_image (if position below) - 10
         * @hooked catchbox_header_menu - 20
         * @hooked catchbox_mobile_header_menu - 30
         */
        do_action( 'catchbox_after_headercontent' ); ?>

    </header><!-- #branding -->

    <?php
    /**
     * catchbox_after_header hook
     */
    do_action( 'catchbox_after_header' );
    ?>

    <?php
    /**
     * catchbox_before_main hook
     */
    do_action( 'catchbox_before_main' );
    ?>

    <div id="main" class="clearfix">

        <?php
        /**
         * catchbox_before_primary hook
         *
         */
        do_action( 'catchbox_before_primary' ); ?>

        <div id="primary" class="content-area">

            <?php
            /**
             * catchbox_before_content hook
             *
             */
            do_action( 'catchbox_before_content' ); ?>

            <div id="content" role="main">
                <?php
                /**
                 * catchbox_content hook
                 *
                 * @hooked catchbox_slider_display - 10
                 * @hooked catchbox_breadcrumb_display - 20
                 *
                 */
                do_action( 'catchbox_content' ); ?>

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy