You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#111591 Editor Background

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by ML_001 on Wednesday, 03 August 2022 10:42 BST

ML_001
Hallo,

ich benutze auf meine Homepage eine Hintergrundgrafik.
Diese Hintergrundgrafik wird im JCE-Editor mit eingeblendet, was sehr unpraktisch ist.
Ich habe im JCE-Editor die template.css eingebunden, das soll auch so bleiben,
da ich sonst nicht komfortabel an die CSS-Klassen des Template komme.

Ich habe folgenden Code in meine custom.css des Template eingebunden.

body.mceContentBody {
background-color: #FFFFFF !important;
background-image: none !important;
}

Das funktioniert auch so weit, allerdings kann ich jetzt nicht mehr auf die Stile zu greifen.
Gibt es dafür noch eine weitere Lösung ?

viele Grüße

Manfred
----------------------------------------------
Hello,

I use a background graphic on my homepage.
This background graphic is displayed in the JCE editor, which is very impractical.
I have included the template.css in the JCE editor, it should stay that way,
because otherwise I would not be able to easily access the CSS classes of the template.

I have included the following code in my custom.css of the template.

body.mceContentBody {
background-color: #FFFFFF !important;
background-image: none;
}

This also works so far, but now I can no longer access the styles.
Is there another solution for this?

Best regards

Manfred

Ryan
You don't have to make any css changes to override the background, just a setting in the JCE Global Configuration.
Please see - https://www.joomlacontenteditor.net/support/faq/editor/editor-background-dark-or-editor-background-image

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

ML_001
Hello,

Thanks for the tip ! Works perfect.

Best regards

Manfred