Based on my understanding, your code looks like this:
.copy{ background-image: url("../sample/wp-content/uploads/gif/banner_12.png") right center no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
It seems like there is a mistake in the background-image
declaration. You should only include the image URL, but you have included right center
as the background-position
, and no-repeat
as the background-repeat
.
You can either write all the styles separately like this:
.copy{
background-image :url("../sample/wp-content/uploads/gif/banner_12.png")
background-repeat:no-repeat;
background-position:right center;
background-size: cover;
}
If needed, you can also include background-attachment (default is scroll) and background-color (default is transparent).
Alternatively, you can combine them into a single declaration like this:
.copy {
background:url("../sample/wp-content/uploads/gif/banner_12.png") no-repeat right center / cover
}