Custom css background-repeat: repeat; not working


(Karol Radziejewski) #1

On my website mamydzieci.co.uk I have had pattern background set by:

  body {
  background-color: #E1DDC4;
  background-image:url('/uploads/default/6/8680ad1c602b06d6.jpg');
  background-repeat:repeat;
  }

But since some recent update, background image is being stretched, I can’t find out how to fix it? Maybe someone could help?


(Jeff Atwood) #2

Maybe @awesomerobot can comment. We made it possible to have backgrounds and styles per category.


(Kris) #3

We just added background-size: cover; by default to make it easier for people to use the new category background feature.

Adding background-size: initial; to your CSS should fix that.

(love that background!)


(Karol Radziejewski) #4

Thanks awesomerobot, that worked just fine.