WordPress.org

Ready to get started?Download WordPress

Forums

Adding image to header (8 posts)

  1. paulys33
    Member
    Posted 7 years ago #

    Hi,
    I know this topic has been covered but can't find the answer I need. I'm using the 3K2 them which has no header image.
    I can change the color by modifying the style sheet, but want to completely replace this with an image. Adding a background image does not work. Any help is appreciated - thanks!

  2. Doodlebee
    Member
    Posted 7 years ago #

    Link?

  3. paulys33
    Member
    Posted 7 years ago #

  4. Doodlebee
    Member
    Posted 7 years ago #

    In your stylesheet you have:

    #header {
    	padding: 0;
    	margin: 0;
    	position: relative;
    	height: 140px;
    	background: #99CC00;
    	}

    edit:

    #header {
    	padding: 0;
    	margin: 0;
    	position: relative;
    	height: 140px;
    	background: #99CC00;
    	background-image:url("path to your image file");
    	background-repeat:no-repeat;
    	}
  5. paulys33
    Member
    Posted 7 years ago #

    That's great. It works in Internet Explorer and Opera!
    Why doesn't it work in Firefox?
    Here's my test URL.
    http://atomicgraphix.com/robots/wordpress/
    Thanks again - almost there.

  6. Doodlebee
    Member
    Posted 7 years ago #

    Looks the same to me in IE and Firefox.

    Did you clear your cache?

  7. paulys33
    Member
    Posted 7 years ago #

    I've got it now - thanks!

  8. lagoamedia
    Member
    Posted 6 years ago #

    i'm trying to do the same thing to my blog. I have an image that i want to always be at right before the first post. I tried copying the same code used here and it didn't work for me. my site is teachmomhow.com. Can anyone help me out?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags