How can i change a single page background. I add this code .page-id-9151 {
background: url(http://www.guineehitmusique.com/wp-content/uploads/2014/08/BACKGROUND-.jpeg) no repeat !important;
} to stylesheet css. but nothing show up.
Hi
The background image it’s controlled by td_background_render.php file. If you want to change the background image for a specific page add this code in indicated file like here: http://screencast.com/t/UStsASqeyp
if (is_page('9151')){
$this->background_parameters['theme_bg_image'] = 'http://www.guineehitmusique.com/wp-content/uploads/2014/08/BACKGROUND-.jpeg';
}
This code will load a specific background image for the page with id 9515. Note that in order to work you need to have set a background image in theme panel: http://screencast.com/t/MZsoqAlnaN
Let me know how it goes.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Thank you it work great.
so how about changing the content background. I want to have black or image background for the content of the page id 9515. https://www.dropbox.com/s/7aupsajo9ctctq8/Screen%20Shot%202016-03-07%20at%2010.49.54%20PM.png?dl=0
Hi
To achieve that add the unique class for each post in your css. The class will look like this: .page-id-123 for pages and .postid-123 for posts. Just replace the 123 number with the post/page numeric id. To get the id follow this link: http://screencast.com/t/WFRpjR0LS
Your css should look like this:
.page-id-123 .td-container{
background-color: red;
}
Thanks!
-
This reply was modified 10 years by
Andrei L..