Hey guys, I have a small issue that needs some attention, I am trying to change the background for the imagepicker/fckeditor body, currently it is using the body background, I have edited the css for the fckeditor but I have had no luck so far although the css looks perfect. I would appreciate any ideas.

Thanks again.

Comments

andremasteredge’s picture

Not to worry, I got it sorted out. - Here is the solution:

1. open the style.css of your theme - remove the " background: url(img/body.gif); " from the body style
2. add a new style with your background image e.g.

.body1
{
background: #EDEDED url(img/body.gif);
}

3. now just add the .body1 class to your body tag in your page.tpl.php page. e.g.

And there you have it, I am not sure why the background image is now simply ignored by the "edit body" of the fckeditor but it works...

andremasteredge’s picture

Not to worry, I got it sorted out. - Here is the solution:

1. open the style.css of your theme - remove the " background: url(img/body.gif); " from the body style
2. add a new style with your background image e.g.

.body1
{
background: #EDEDED url(img/body.gif);
}

3. now just add the .body1 class to your body tag in your page.tpl.php page. e.g.

And there you have it, I am not sure why the background image is now simply ignored by the "edit body" of the fckeditor but it works...

andremasteredge’s picture

Not to worry, I got it sorted out. - Here is the solution:

1. open the style.css of your theme - remove the " background: url(img/body.gif); " from the body style
2. add a new style with your background image e.g.

.body1
{
background: #EDEDED url(img/body.gif);
}

3. now just add the .body1 class to your body tag in your page.tpl.php page. e.g.

And there you have it, I am not sure why the background image is now simply ignored by the "edit body" of the fckeditor but it works...