I'm currently attempting to add a background image to my WordPress website.
.content:before {
content: "";
background-image: url("gfx/SevenWonders.jpg");
/*background: #fff;*/
background-size:600px 700px;
background-repeat: no-repeat;
position: absolute;
z-index: -9999;
top: 0;
right: 28.5%;
bottom: 0;
left: -10000px;
}
This snippet of CSS contains the background-image property. I have adjusted the size because the image
is large for my site. However, after adding background-repeat: no-repeat,
the background doesn't appear; instead, only a white background is visible.
I've searched online for solutions, but most resources mention syntax errors, yet I cannot spot any in my code.