Background Image in Article Editor - How Can I Remove it?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Mar 22, 2011 11:39 am
- Contact:
Background Image in Article Editor - How Can I Remove it?
I've recently set up a new website, but the back-end Article Editing window has a background image which is obviously from one of the front end templates I've installed. How can I get rid of the image and change the background to a light grey or any other pastel colour?
I've searched everywhere to try to find the link to this image. I'm using the Extended version of TinyMCE.
I've searched everywhere to try to find the link to this image. I'm using the Extended version of TinyMCE.
- coalaweb
- Joomla! Apprentice
- Posts: 41
- Joined: Wed Jun 30, 2010 6:42 pm
- Location: New York
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
In these situations a great way to find out where a css style is being feed in from is by using Firebug.
https://getfirebug.com/
You should then be able to right click the back ground area and select "Inspect element with Firebug"
The image below is me doing this exact thing on the editor window I'm currently writing this post in.
https://getfirebug.com/
You should then be able to right click the back ground area and select "Inspect element with Firebug"
The image below is me doing this exact thing on the editor window I'm currently writing this post in.
- brian
- Joomla! Master
- Posts: 12785
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
add the following to your template css
.mceContentBody {
background: none !important;
}
.mceContentBody {
background: none !important;
}
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Mar 22, 2011 11:39 am
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
Thanks Brian, but I have a number of front-end templates, and am using Bluestork back-end template. I've added that code to the Bluestork template.css, but the image still appears in the Article Editor, so should I have added it to others? If so, which ones?
- brian
- Joomla! Master
- Posts: 12785
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
Add it to the default frontend template
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
- coalaweb
- Joomla! Apprentice
- Posts: 41
- Joined: Wed Jun 30, 2010 6:42 pm
- Location: New York
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
If you use firebug you could find out which css file is producing the background colour or any other css atribute (for the furure) and make changes accordingly.
-
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Mar 22, 2011 11:39 am
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
I tried that, thanks, but there's no indication of why the image is showing there. However, it may be that the TinyMCE editor window has a transparency setting which is allowing the front-end default template's background image (which is what the image is) to show through. So where do I need to look to find such a transparency value?coalaweb wrote:If you use firebug you could find out which css file is producing the background colour or any other css atribute (for the furure) and make changes accordingly.
- coalaweb
- Joomla! Apprentice
- Posts: 41
- Joined: Wed Jun 30, 2010 6:42 pm
- Location: New York
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
Ahh Ok That's interesting any chance of a screen shot?
-
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Mar 22, 2011 11:39 am
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
I tried that too, but no joy.brian wrote:Add it to the default frontend template
- coalaweb
- Joomla! Apprentice
- Posts: 41
- Joined: Wed Jun 30, 2010 6:42 pm
- Location: New York
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
I have seen in the past, some templates cause a conflict by applying the site's background as the wysiwyg editor's background but as Brian said it's normally to do with and in those cases I have put the following in the default templates css file and it fixed it for me.
I will do some more research.
Code: Select all
.mceContentBody
Code: Select all
/* TinyMCE specific rules */
body.mceContentBody {
background: #FFF !important;
background-image: none;
}
-
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Mar 22, 2011 11:39 am
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
I've discovered a workaround to this problem that avoids editing the CSS files (because I want the ability to update the templates without having to do that each time).
I have created an additional front-end template which has a plain pastel-coloured background, and installed that as the default template. Then I assigned the working templates to the appropriate menus so that the plain default template doesn't show in the front end - but its plain background now shows in the Article editor.
I have created an additional front-end template which has a plain pastel-coloured background, and installed that as the default template. Then I assigned the working templates to the appropriate menus so that the plain default template doesn't show in the front end - but its plain background now shows in the Article editor.
- coalaweb
- Joomla! Apprentice
- Posts: 41
- Joined: Wed Jun 30, 2010 6:42 pm
- Location: New York
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
Wow that's a very elaborate work around. You could also try creating a CSS file let's say custom.css place it in your default templates css directory and then add your changes. Next add it to the main CSS file of the template with an import statement.
when the template is updated it wont affect your custom CSS file and all you have to do is add the @import again and you are good to go.
Code: Select all
@import url(../template/css/custom.css);
-
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Mar 22, 2011 11:39 am
- Contact:
Re: Background Image in Article Editor - How Can I Remove it
Thanks but the site already has a different template for each of its four sections, so adding a fifth is not a problem. It also means that when I update any of the other four (and the client may also do that in the future) there's no need to edit any CSS files at all.
-
- Joomla! Apprentice
- Posts: 16
- Joined: Fri Feb 06, 2009 5:04 pm
- Location: Hawaii
Re: Background Image in Article Editor - How Can I Remove it?
I'm trying to remove the template background image from the TinyMCE editor.
I added:
.mceContentBody {
background: none !important;
}
to my template.css file, but the image is still displayed in the editor.
Is there something else that might work?
It would be nice if the plugin included a setting to display or not display the image.
I added:
.mceContentBody {
background: none !important;
}
to my template.css file, but the image is still displayed in the editor.
Is there something else that might work?
It would be nice if the plugin included a setting to display or not display the image.