Problems putting logo from website on top of my tumblr theme

chris_17

Member
I do it this way, there's loads of ways you can do it but I prefer this:

HTML:

HTML:
<a class="branding">Simon Rogers</a>

CSS:

Code:
.branding {
    display:block;
    float:left;
    background: url('http://media.cargocollective.com/1/7/247177/headerimg/tri.jpg') no-repeat;
    width:176px;
    height:83px;
    text-indent:-3000em;
}

Leave the text 'Simon Rogers' in there for screen reads and just push it off the page so it can't be seen, hence the text-indent.

Hope this is what you mean.

Chris
 
Top