• header.php

    hide this:
    <?php mercia_header_image(); ?>

    <div id="logo" class="site-branding clearfix">
    replace with:

    				<div id="logo" class="site-branding clearfix" <?php // WP Custom Header
    				if ( has_header_image() ) { ?> style="background-image: url(
                        <?php header_image(); ?>); width: 100%; "
                        <?php } ?>>

    radio

    use header image as:
    (o) site banner above
    (o) logo background

    EN:

    In your Mercia theme, it turns out that the site header is installed above the name and logo as a site banner. not as a logo background.
    I made as a logo background for <div id = “logo” class = “site-branding
    It seems to me that it is more logical and more convenient.

    I’m sorry but we won’t change … with an update, since this would cause a lot of trouble for existing websites.

    It is clear that you will not change.

    can be done as a theme option?

    RU:

    У вас в теме Mercia получается что шапка сайта установлена над названием и логотипом как баннер сайта. а не как фон логотипа.
    Я сделал как фон логотипа для <div id=”logo” class=”site-branding
    Мне кажется так логичнее и удобнее.

    I’m sorry but we won’t change … with an update, since this would cause a lot of trouble for existing websites.

    Это понятно что вы не будете менять.

    может быть сделать как опцию темы?

    The page I need help with: [log in to see the link]

  • The topic ‘I made header image as a logo background, not site banner’ is closed to new replies.