• Resolved texxasjennie

    (@texxasjennie)


    I’m using Rhianna theme (here’s a sample of it: https://www.arenawp.com/ )
    and instead of the name of the blog I wanted to put an image in the same place – the font is too simple and I just want to dress it up by using a image

    any suggestions on how to use the theme editor to do that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You would remove the php call in your header.php which prints the blog title text.

    Then you would throw in the html that would display your image.

    Thread Starter texxasjennie

    (@texxasjennie)

    Thank you so much TheSooFoo

    I was able to replace the blog title text with a png image. But unable to make that image be a link back home. Here is the code I thought would work…

    <div id="masthead">
            <h1><a href="https://domain.com"><img src="/images/image.png"  title="Domain" alt="Domain" /></a></h1>
    
    </div>

    I can’t imagine why that would not work as a link.

    is it because <h1> is now = none?

    1) here is the current css when i made the swap-out along with the comment written at the time =

    #masthead h1 {   /* logo png 9/19/08 with "none" works but lost link ability  */
    display: none;
    }   /*  logo png  */

    2) i just tried this and blog name overprints png image =

    #masthead h1 {  /* this did not hide clickable blog name */
    margin:0;
    padding:0;
    }
    img {
    border:0;
    }

    3) my general masthead css =

    #masthead {
    margin: 0;
    text-align: left;
    height: 55px;
    width: 700px;
    float: left;
    background:url(images/da-logo3_950.png) no-repeat;  /* new line 9/19/08  it worked */
    }

    trying to figure what <h1> is up to. what does this tell me if i see the blog name even when using this code. shouldn’t name now be positioned off of page which it isn’t. =

    /*  h1 {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 0;
    }  was 0.5em  9/19/08  and 10/12/08 comment out */
    
    h1 {
       font-size: 0;
       text-indent: -1000px;
    }   /* 10/12/08 masthead clickable test  */

    i got this test idea from codex = https://codex.www.ads-software.com/Designing_Headers

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Want to use Image instead of name of blog’ is closed to new replies.