I would like all my site pages to have a background-image, such as:

body {
  background-image: url(https://5e97-e8af726b4e97.wptiger.fr/wp-content/themes/twentyseventeen/assets/images/header.jpg);
  background-size: cover;

Using additional CSS field does not work. What can be the solution, please? Thank you


1 Answer 1


I think your CSS is OK, (I am not an expert at CSS but I am currently learning it myself).

I think you issue is a cerficate error on the page you are hosting

try this:

body {background-image: url("https://image.shutterstock.com/image-vector/sample-stamp-grunge-texture-vector-600w-1389188336.jpg");

I tested it in the additional CSS on my page and it worked.

I also added it to my stylesheet in my child theme and that also worked.

Hope that helps!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.