Header in Thesis question

by BenQ
2 replies
  • WEB DESIGN
  • |
I'm trying to add a custom header into Thesis. I've followed a few tutorials on the subject, edited my css, etc, but can't get it. All the tutorials I've seen suggest activating the custom stylesheet and adding code similar to below in the css:

.custom #header #logo a { display:block; height:200px; width:920px; background:http://mydomain.com/wp-content/theme...ges/header.png no-repeat; outline:none }
.custom #header #logo,.custom #header #tagline { text-indent:-9999px }
.custom #tagline{height:0;}

Once I do so, and save, I can see the header area on my site has expanded in size, but the the header image doesn't fill the space.

Of course in the above example I switch out "mydomain.com" with my site, but does anyone see anything else wrong with the above code snippet or have any ideas? Is there anything else in the above code that needs to be changed? Thanks

Edit: Figured it out. My background path should have just been url(images/header.png)
#header #question #thesis
  • Profile picture of the author NetMan
    Originally Posted by Benq View Post

    I'm trying to add a custom header into Thesis. ....

    Once I do so, and save, I can see the header area on my site has expanded in size, but the the header image doesn't fill the space.

    Edit: Figured it out. My background path should have just been url(images/header.png)
    Use the full web path to your images in the CSS file.

    Code:
    url(http://yourdomain.com/wp-content/themes/thesis/images/header.png)
    Best regards,

    Andre Foisy
    {{ DiscussionBoard.errors[1780680].message }}
  • Profile picture of the author BenQ
    I was. It was truncated in that post for some reason. But the answer was actually the opposite, I just needed to use the absolute path.
    {{ DiscussionBoard.errors[1788862].message }}

Trending Topics