WordPress.org

Forums

Editing Theme To Add Logo (4 posts)

  1. footballAT
    Member
    Posted 2 years ago #

    Could someone please have a look at my theme and tell me how I could change it so that I have a logo in the header instead of text and the logo being a link to the index.

    http://watchmufc.com/blog

    Thanks

  2. noahjonah
    Member
    Posted 2 years ago #

    Make changes in header.php

  3. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Do not make changes in theme files - -you'll need to create a child theme and THEN modify a copy of the header.php file in the child theme.

    http://codex.wordpress.org/Child_Themes

    You could also possibly do what you want in the CSS code -- using the logo as a background image.

    Once you have the child theme set up, post back and someone can help you with next steps.

  4. Mohd Rafie
    Member
    Posted 2 years ago #

    Yes, there are many ways to do it, but if you wish to make the changes permanently, you can edit the header.php

    Firstly, if you wish to just have logo, remove this part of code in the header.php

    <p class="title"><a href="<?php echo home_url(); ?>/" name="top"><?php bloginfo('name'); ?></a></p>
    <p class="tagline"><?php bloginfo('description'); ?></p>

    And replace with

    <a href="<?php echo home_url(); ?>"><img src="yourimageurlgoeshere" /></a>

    Let me know if you need any other help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.