My issue involves linking a CSS background image to the site index. I have attempted to link it using the following code:
#header-bg {
background-image: url("./styles/duffcraft/theme/images/bg_header.png");
}
Then using:
<a href="./" id="header-bg"></a>
Unfortunately, this approach did not work. The website URL is: . The image in question is the one with DuffCraft and other elements on it, named header.png.
It needs to be linked to the site index, but since I will be transferring it to another domain soon, I cannot have it pointing to .
EDIT: I was able to successfully link the image, however, there is now a large gap between the image and the actual content (which has been fixed).