Forums

[resolved] Swap text for logo in modularity theme (4 posts)

  1. exposureclothing
    Member
    Posted 3 months ago #

    Hey again, looking for code tip on how to change the text at the top to my logo jpg file. I assume its in the header php which is here:
    I have my file in the /public_html/wp-content/themes/modularity-lite/images/logo.jpg

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. Christine
    Moderator
    Posted 3 months ago #

    Please provide a link to your site.

  3. exposureclothing
    Member
    Posted 3 months ago #

    Hey Christine, I think I have it figured out, will play with it and see.
    Thanks
    S

  4. exposureclothing
    Member
    Posted 3 months ago #

    K a great person helped me out today with this so I figured I would post it to others that have the same issue.
    In your header php locate this part and fill in with your data:

    <div id="masthead">
     <h4 class="left"><a href="<?php echo get_settings('home'); ?>/" title="Home" class="logo">
    
    <img src="http://yoursite.com/logo.jpg" width="150" height="80" border="0" alt="your tag here" />
    </a> <span class="description"><?php bloginfo( 'description' ); ?></span></h4>
    </div>

    Minus the backticks
    For some strange reason I had to host my logo on a different server of mine to make it work, perhaps someone else would know why it wouldn't work in my theme folder. The height and width can be changed for your logo.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.