- This topic has 9 replies, 2 voices, and was last updated 11 years ago by
Tom.
-
AuthorPosts
-
February 24, 2015 at 7:28 am #79411
Carlotta Gergely
Hi Tom, my customer a dancing-company, wants to have different background images in header and body on each site. So I tried e.g. for body with custom css and deactivated the body background in the background addon. But it doesn’t work properly. Maybe I missed something I can’t see at the moment. example in custom css:
body {
background: url(‘wp-content/uploads/2015/02/bg_body_blau.png’);
width=100%;
}
This is the site – currently the background is set with the background addon:
http://www.tsbasilisk.ch
I am using exhibit as client theme.
Thanks for your feedback
CarlottaFebruary 24, 2015 at 8:03 am #79432Carlotta Gergely
Hi Tom, I finally got it – it works, no help needed anymore!
Thanks
CarlottaFebruary 24, 2015 at 9:53 am #79485Tom
Lead DeveloperLead DeveloperGlad you sorted it out! 🙂
February 25, 2015 at 1:21 am #79774Carlotta Gergely
Hi Tom,
I am sorry, but I didn’t. I tried with body background first. It works for the home page but not for the other ones. Here is what I put in custom css:body {background-image: url(http://tsbasilisk.ch/wp-content/uploads/2015/02/bg_body_blau.png); background-size: 100%; !important}
}body.page-id-36 {
background-image: url(http://tsbasilisk.ch/wp-content/uploads/2015/02/bg_body_rot.png); background-size: 100%; !important}
}css for first page is active and it works but it seems that my reference for the second page is not working at all. What did I wrong?
Thanks for your feedback
Carlotta
css for home pageFebruary 25, 2015 at 12:06 pm #80025Tom
Lead DeveloperLead DeveloperCan you link me to the page-id-36 page?
February 25, 2015 at 1:25 pm #80107Carlotta Gergely
it’s the second one on tsbasilisk.ch named standardtaenze
February 25, 2015 at 1:28 pm #80119Carlotta Gergely
this is the link http://tsbasilisk.ch/standardtaenze/
February 25, 2015 at 3:43 pm #80209Tom
Lead DeveloperLead DeveloperWhere are you adding the custom CSS with the page ID? I’m not seeing it.
February 26, 2015 at 5:47 am #80369Carlotta Gergely
it’s in custom css plugin but shame on me, I had a second “}” after the first css with the blue background and didn’t recognize it. So the second one for page-id-36 was simply ignored. Now it works and I appologize to bother you with this.
Thank you for your patience with me, Tom.
CarlottaFebruary 26, 2015 at 10:41 am #80474Tom
Lead DeveloperLead DeveloperNo problem! Glad you sorted it out 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.