Change the color on the quote in edit mode

Go down

Solved Change the color on the quote in edit mode

Post by th4nhc0n9 on Sat 13 Sep - 20:37

Hi guys,
My forum has dark background. The quode displays OK.
However, when I edit the topic, in the compose editor, the quote is bright color background so that it is difficult to see.

When I switch to text only mode, the background is white while my text is white too so that I can not see.




How I can change quote in edit mode to dark and the background of text editor mode dark also? Help me to personalize them?

Now I used js for Editor: Edit style SCEditorhttp://www.vnbeauties.com/10457.js 
Or could u give any better one for the dark theme forum? My forum php 3. THANKS
avatar
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by Ramdaman on Sat 13 Sep - 20:39

You know you can change the color of text in the Display.
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by th4nhc0n9 on Sat 13 Sep - 20:43

@Ramdaman wrote:You know you can change the color of text in the Display.
Yes, the text is OK with display mode. However, in the editor, the quote changes its color into bright, so my quote text does not match. it is choosen for dark quote background.
avatar
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by Ange Tuteur on Sun 14 Sep - 4:10

Hello,

You can modify this with a bit of JavaScript. Go to Administration Panel > Modules > JavaScript codes management > Create a new script

Title : Your choice
Placement : In all the pages
Paste the code below and submit :
Code:
$(function(){$(function(){$('.sceditor-container iframe').contents().find('head').append('<style>blockquote{background:#333;}</style>');})});

If you want a different color change #333 to another hex color.
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by th4nhc0n9 on Sun 14 Sep - 8:45

It is OK for in case of Quote.
There is still problem:  plain text mode - the background still white

. Could u help me? Thanks!
avatar
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by Ange Tuteur on Sun 14 Sep - 19:16

Go to Administration Panel > Display > Colors

Under background colors find and modify the following options :
Editor background color (Toolbar)
Editor background color (Text area)
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by th4nhc0n9 on Mon 15 Sep - 3:08

It is OK with me now. Thank u!
avatar
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: Change the color on the quote in edit mode

Post by Ange Tuteur on Mon 15 Sep - 5:55

You're welcome Smile

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum