WordPress.org

Forums

Zenon Lite
[resolved] image to replace title (7 posts)

  1. walz12
    Member
    Posted 2 years ago #

    Hello,

    Could someone please share how to use an image/logo instead of the title text in the header? I have tried adding some code to the header.php file but either my code is wrong or there is something else I need to do.

    Thanks!

    http://wordpress.org/extend/themes/zenon-lite/

  2. walz12
    Member
    Posted 2 years ago #

    Figured it out using a simple

    <img src="http://location.jpg" alt="Be Global" class="center" />

  3. Spino27
    Member
    Posted 2 years ago #

    Hi, I am also looking to do the same as above. Can you please tell me where, exactly, in the header.php I place that code? Do i need to take something out and put that in?

  4. AbishaDesigns
    Member
    Posted 2 years ago #

    Hi,

    I am struggling with the same issue. where do i place the code and what do I take out? I've tried a few options, but none are working.

  5. Dicono
    Member
    Posted 2 years ago #

    Hi,

    You can place de code in the index.php

    Go to Appereance > Editor > Select index.php. Place the code in the first line.

  6. samasana
    Member
    Posted 2 years ago #

    Go to Appearance>Editor>header.php

    Replace:

    <!--LOGO START-->
            <div class="logo">
            <h1><a>"><?php bloginfo('name') ;?></a></h1>
            <div class="desc"><?php bloginfo('description')?></div>
            </div>
    
            <!--LOGO END-->

    With this:

    <!--LOGO START-->
            <div class="logo">
            <h1><a>"><img src="http://location.jpg" alt="title" class="center" /></a></h1>
    
            <!--LOGO END-->

    [Please post code or markup snippets between backticks or use the code button. Your posted code has been permanently damaged by the forum's parser.]

  7. 2redboots
    Member
    Posted 2 years ago #

    Is it possible to have a header image *and* the name/description? I would be really grateful if someone could tell me what to change the code to for this, thanks.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags