Forums

Replacing Text Title with a Logo Image (3 posts)

  1. MNGS
    Member
    Posted 3 years ago #

    I've been reading many posts and comparing them to my theme's code, still struggling to figure out how - here - to replace the text title with an image logo.

    If you could give me easy, specific instructions, I'd be so grateful.

    Thanks!!

  2. mccormicky
    Member
    Posted 3 years ago #

    Try:
    In style.css
    (change height & width to fit your logo image)

    #header{you've got header css already I am sure}
    h1#logo{width:200px;height:65px;border:0; background: url(images/logo.jpg) top left no-repeat;text-indent: -9999px;}
    #header h1#logo a {height: 100%;display: block;}

    html to add to header.php:
    <h1 id="logo"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

  3. MNGS
    Member
    Posted 3 years ago #

    Thanks, but it didn't work.

    Could I beg for more help???

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.