This code has got me scratching my head a bit, mainly because I'm not completely grasping it. Here's the code snippet in question that is supposed to show a responsive background image on the header:
.home .site-header-main:before {
display: block;
max-width: 100%;
max-height: 100%;
background-color: transparent;
background-image: url('/images/home-menu/home_honey_drip.png');
background-repeat: no-repeat;
background-size: 100%;
padding-top: 35%;
}
My goal here is to have the 'home_honey_drip.png' displayed below the menu text and then overflow it above the body content. I've attempted to add position: absolute;
, but it seems to make the image vanish.
Your help with this would be greatly appreciated.