Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter OzaWebbo

    (@ozawebbo)

    Further info – the logo is being applied by a child theme with modified header.php and style.css
    If I revert back to the parent theme the background header image displays ok.

    Did you set the header background image in the child theme?

    Thread Starter OzaWebbo

    (@ozawebbo)

    Hi Wpyogi. Yes it is set in the child header and looks ok when I preview it.
    The html source viewed in the browser looks like this

    <style type="text/css" id="twentythirteen-header-css">
    			.site-header {
    			background: url(http://www.rmwoodmaster.co.uk/wp-content/uploads/2013/10/cropped-light-woodgrain.jpg) no-repeat scroll top;
    			background-size: 1600px auto;
    		}
    		</style>
    	</head>

    This is the same for both cases when the image shows up and when it doesn’t. The only difference with the child theme in which the background doesn’t show is that I have the image inside the masthead like this

    `<header id=”masthead” class=”site-header” role=”banner”>
    <img class=”header-logo” src=”http://www.rmwoodmaster.co.uk/wp-content/uploads/2013/10/Rmwoodmaster_logo.jpg&#8221; />`

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you sure it’s not because you added this CSS:

    .site-header .home-link {
    	position:absolute;
    left:100px;
    top:10px;
    }

    Rather than something to do with your logo?

    Thread Starter OzaWebbo

    (@ozawebbo)

    Hi Andrew – yes you’re right. However I added that CSS because the title and description were being pushed down underneath the banner. I’ve commented out that CSS now and you can see the banner background and logo look fine, but the title is below.
    I expect it is something wrong with my CSS

    Thread Starter OzaWebbo

    (@ozawebbo)

    I’m making progress – have changed the title and description to display inline and it’s looking better. Just a bit of tidying up to do..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Trying to get logo and banner image to display’ is closed to new replies.