Eleven40 Logo Image instead of text

Community Forums Forums Design Tips and Tricks Eleven40 Logo Image instead of text

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  rillc 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18280

    elsamuel@rocketmail.com
    Participant
    Post count: 1

    Hello all,

    My goal is to make the theme look like this:

    http://imageshack.us/a/img651/8652/simn8tion.jpg

    Here is the current site:

    http://simn8tion.bedifferentbydesign.com

    Im posting here in the forum to get some direction or tips on how to put an image in the header. Since I can’t do it like normal I would assume you position it using CSS. I have never done that before (embarrassing) I would appreciate any help! Thanks so much!

    #20968

    cehwitham
    Participant
    Post count: 396

    To replace the site title with your logo, add the following code into functions.php:

    Remove the site title:

    remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );

    Then add in a logo:

    function my_custom_logo() { ?>
    <a href="" title="Home" id="logo">
    <img src="/images/logo.png" alt="Logo" />

    <?php }
    add_action('genesis_site_title','my_custom_logo');

    You’ll need to upload your logo into the images directory of your current theme’s folder. Check the extension matches and change .png if required.

    Change the alt text to your site name.

    You can then position the logo using #logo { } in your style.css file.

    Hope that helps.

    Chris


    Twitter: cehwitham Web: cehwitham.com

    #30598

    rillc
    Participant
    Post count: 5

    That’s an awful lot to do just to replace the logo in this theme.  Goodness!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.