• Resolved archerdata

    (@archerdata)


    I have been searching Google for a couple of hours, to no avail as I do not want to replace the site title with an image, but to place an image behind the site title and search box. My preference is to NOT modify header.php if at all possible. In the child theme CSS in have:

    #branding hgroup {
    	background-image: url("../twentyeleven-child/images/topbanner1.jpg") no-repeat;
    	position: relative;
    	top: 0px;
    }

    I have tried everything I can think of to get this image to appear. It worked great in WP 3.3.2, so I don’t know what I’m doing wrong.

    I can use any suggestions anyone has. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you post a link to your site, someone will be more likely to be able to help you.

    Thread Starter archerdata

    (@archerdata)

    Thread Starter archerdata

    (@archerdata)

    Also … is it possible to load a single, full size image behind <header> rather than loading two separate images, and to not upload a header image under theme options? That might be easier to control. My full size image is 1000×406.

    Thread Starter archerdata

    (@archerdata)

    OMG! I finally figured it out! I added this to my child CSS:
    #branding hgroup {height: 118px;}

    This is the height of the image in the site-title area that was added with this:

    /* Load background image in the header block */
    #branding {
    	background-color: transparent;
    	background-image: url("../twentyeleven-child/images/topbanner1.jpg");
    	background-repeat: no-repeat;
    	background-position: top center;
    	border-top: none;
    }

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘TwentyEleven 1.4 adding image behind site’ is closed to new replies.