Background Image not as body div

carolburri / 2013-02-27 12:29:09   

Hello,

I would like to use the background function but instead of the body style background. I would love to use my on div class for the background.
I open the plugin.ndxz.background.php but I was not able to change any settings.

thank you for any help.
best, carol

arsondpi / 2013-02-27 13:17:37   

I'm afraid I don't understand - to which div do you want a background?

carolburri / 2013-02-27 13:26:06   
example:





Now I would like to have my background image on the div content class.
I saw that the background function write in the css the background url on the body class. I my case I would like the background class on the content div.

thx.

carolburri / 2013-02-27 13:28:44   
  1. 'body'
  2. 'div class="content"''/div'
  3. '/body'
lemathieu A / 2013-02-27 13:39:14   

hello,
why do you want to do that ?
can't you simply add a background color to the index (the menu) to separate visually the two areas ?

carolburri / 2013-02-27 13:45:24   

no. I need it for a auto scale image and text solution.
I build it with jQuery and it works fine as long as I set it manually in the css. But I would be a really nice solution when I could upload the image with the background-image function.
The only change is, it should write in on the content div instead of the body div.

lemathieu A / 2013-02-27 13:47:00   

ok, sorry, understood.

carolburri / 2013-02-27 13:47:04   
  1. something here could it be: 
  2. $OBJ->page->exhibit['dyn_css'][] = "body { $style }";
  3. but I don't understand the dyn_css

This thread has been closed, thank you.