Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Maybe the CSS of the theme has set that grey background.
Hi Andrew – thanks for the prompt reply.
could it be that the image is being loaded into a defaulr header div.
from header.php file. Like this.
<div id="logo">
<a href="<?php echo home_url('/'); ?>"><img src="<?php header_image(); ?>" width="<?php if(function_exists('get_custom_header')) { echo get_custom_header() -> width;} else { echo HEADER_IMAGE_WIDTH;} ?>" height="<?php if(function_exists('get_custom_header')) { echo get_custom_header() -> height;} else { echo HEADER_IMAGE_HEIGHT;} ?>" alt="<?php bloginfo('name'); ?>" /></a>
</div><!-- end of #logo -->
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
do you know of a way of styling that grey option out in the child style sheet?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I don’t know whether it is CSS that’s causing the grey, it was just a hypothesis because we can’t see the issue and the webpage it resides in.
OK – so I am now thinking of a work around by using z0index to layer over the header image with the cutout and animay=ted gif.
How would I use two images within the same div but also using the same tag like #logo {...
I have inserted into <div id="gif"></div> into the header.php already.
it is the tag to logo thatI am haveing trouble with now.
Any thoughts?