Adding Logo pic in Twenty Eleven Header (5 posts)

  1. rainer23
    Posted 4 years ago #

    Not sure if this is the best solution - to change in Twenty Eleven child theme, header.php:
    <?php bloginfo( 'name' ); ?>
    Replace it with code of image:
    <img src="http://yoursite.com/imageurl.gif">
    Delete the following code completly:
    <?php bloginfo( 'description' ); ?>

    Question is, is my blog then without side description?
    Is there a way to get this done without removing side description? Thanks for any help!

  2. peredur
    Posted 4 years ago #

    It's without a displayed site description. But it's not going to change what WP thinks of as the site description.

    I prefer setting display:none; on the elements that show the title and description on the occasional sites I do where the client doesn't want them displayed. At least they're still in the code, then, for search engines.

    And of course I need to remind you, if you didn't know already, that it is essential that you use a child theme if you're making any alterations at all to any of the standard themes. Not compulsory, but essential if you don't want your changes overwritten by updates, and the chance of support in certain cases.



  3. zendacomunicacion
    Posted 3 years ago #

    Hi, i'm applying what's been discussed here.

    What i want to achieve is change the title for a clickeable image, but the result was this:


    The image takes all the header space, and the original is 291x125
    How can i adjust the size so it can be the original and no expand like this...

    I know a little bit of css and not much about php
    Thanks in advance

  4. Andrew Nevins
    Forum moderator
    Posted 3 years ago #


    If you create your own thread depicting this issue, including a link to this thread, you'll be more likely to receive help.

  5. zendacomunicacion
    Posted 3 years ago #

    ok, thanks. i'm new to the forum...

Topic Closed

This topic has been closed to new replies.

About this Topic