The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Text-Color change in Textarea

View previous topic View next topic Go down

Solved Text-Color change in Textarea

Post by Mayestro on April 8th 2015, 12:17 pm

Technical Details

Forum version : phpBB2
Position : Founder
Concerned browser(s) :
Who the problem concerns : All members
Forum link : http://narutofuture.forumczech.com/forum

Description of problem

Hello,

I would like to know how to change text color in textarea.
The standart color is set to gray and the background is white. Unfortunately, with my own desingn it looks terrible and it is also very bad for eyes. So i changed background to dark gray, but thanks to that, user can't see what he is writing, because the color of background and color of text is almost the same.

On this screen, you can see the marked text, which you can barely see.



I tried to find it in Templates, but there is so much things and I don't know where to find it. I've tried to create my own CSS, but it never worked. bwi

I will be glad for any help or advice. Thank you in advance. Smile

Mayestro
New Member

Posts : 2
Reputation : 1
Language : CZ

http://narutofuture.forumczech.com/forum

Back to top Go down

Solved Re: Text-Color change in Textarea

Post by EndlessDream on April 8th 2015, 8:12 pm

Hi Smile

Go to AP -> Display -> Colors -> CSS Stylesheet and add this code to your css:

Code:
.sceditor-container textarea { color: #ffffff !important;}

#ffffff is white color and you can change it in whatever color you want.

Hope it helps. Smile

EndlessDream
Forumember

Male Posts : 107
Reputation : 22
Language : English, Spanish, Serbian

Back to top Go down

Solved Re: Text-Color change in Textarea

Post by Ange Tuteur on April 9th 2015, 12:11 am

Hey,

For WYSIWYG mode you must create a new script :
Administration Panel > Modules > Javascript codes management > Create a new script


Title : Your choice
Placement : In all the pages
Code:
$(function(){$(function(){$(".sceditor-container iframe").contents().find("head").append("<style>body,html,code:before,p,table{color:#fff!important;}</style>")})});

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Text-Color change in Textarea

Post by Mayestro on April 9th 2015, 5:10 pm

Many thanks! Although the first advice did not help, the second one did, therefore my problem is solved SmileI thank both of you for your fast reply and effort, it helped me big time Very Happy

Mayestro
New Member

Posts : 2
Reputation : 1
Language : CZ

http://narutofuture.forumczech.com/forum

Back to top Go down

Solved Re: Text-Color change in Textarea

Post by Ange Tuteur on April 9th 2015, 11:01 pm

Topic archived

Have a nice day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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