WordPress.org

Ready to get started?Download WordPress

Forums

How to add logo as blog name instead of text (5 posts)

  1. MegWi
    Member
    Posted 1 year ago #

    Hello, all!
    I am very, very new to blogging on wp, so any help would be appreciated!

    Here's the link: http://www.blog.megwilsonphotography.com

    What I want to be able to do is at the top where it says "Meg Wilson Photography", I'd like to be able to insert my logo (which can be seen on my flash website: http://www.megwilsonphotography.com) instead of just text. I have the logo file as a .png
    Any pointers?

    Thanks!

  2. govpatel
    Member
    Posted 1 year ago #

    The only way to help you is to see how your theme is coded if you can paste your header.php file in http://wordpress.pastebin.com and then paste url here from paste bin so we can help.

  3. Lorenzo Orlando Caum
    Member
    Posted 1 year ago #

    Upload your png file to WordPress media.

    Then edit your themes style.css file : http://cl.ly/image/1K1Y303b1E3c

    ...to include something like this: http://css-tricks.com/header-text-image-replacement/

    The key is the background:url styling

  4. MegWi
    Member
    Posted 1 year ago #

  5. govpatel
    Member
    Posted 1 year ago #

    You have this in your code

    <?php
                                    if(get_header_image()){
                                            ?><img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="<?php print esc_attr(get_bloginfo('name')) ?>" /><?php
                                    }
                                    else{

    I have tried to add the image using Appearance>>>>Header

Topic Closed

This topic has been closed to new replies.

About this Topic