Hi guys,
I’m trying to have a background image for specific pages. I’ve tried:
body.page-id-1644
{
background-image:url('example.gif');
background-repeat:no-repeat;
background-attachment:fixed;
}
and
.category-CategoryName
{
background-image:url('example.gif');
background-repeat:no-repeat;
background-attachment:fixed;
}
Nothing worked. I even tried on a clean install of WordPress and still doesn’t work. Google came up with this Kriesi Support Forum and some people have asked the same question and got it working, but still I’m not able to change anything. Tried a couple of plugins and they didn’t work.
I have no idea why everything I try isn’t working. Please help.
Hey FlatText,
I was not sure what page your working on or what image you want to use, so I put together this demo for you based on the contact page:
.page-id-5 .container_wrap_first {
background-image:url('https://s8.postimg.org/tyj2ot34l/material-paper5.jpg')!important;
background-repeat:no-repeat!important;
background-attachment:fixed!important;
}
Best regards,
Mike
Thanks so much, Mike
Hi,
We glad that your problem was solved!
Let us if you have any questions in the future.
Best regards,
John Torvik