Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-08 17:51:01

shekharpoorna
New Member
From: India
Registered: 2005-09-30
Posts: 9
Website

Changing the style of textarea in admin.css

Can anyone can lead me to change the style of the (particulaly font of editing text) textarea in admin.css?
Thanks in advance.

Offline

#2 2005-10-08 18:16:57

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Changing the style of textarea in admin.css

What version of TxP are using? Because, to my knowledge, the look of the TxP interface is controlled by textpattern.css—at least in 4.01.

Last edited by Elenita (2005-10-08 18:17:52)

Offline

#3 2005-10-08 20:01:37

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Changing the style of textarea in admin.css

Yes. There’s also a plugin.

Offline

#4 2005-10-09 04:56:56

shekharpoorna
New Member
From: India
Registered: 2005-09-30
Posts: 9
Website

Re: Changing the style of textarea in admin.css

> mary wrote:

> Yes. There’s also a plugin.

Mary thanks. Just I wanted to know in admin.css which is the class that structuralises the textarea (dor editig only the posts, NOT the plugins or presentation scripts…? Any leads?

Offline

#5 2005-10-10 04:25:07

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Changing the style of textarea in admin.css

It doesn’t have a class, style is applied globally to all textareas. Find the “textarea” rule in the stylesheet and you can see what the current font defined for it is.

Offline

#6 2005-10-10 04:50:45

shekharpoorna
New Member
From: India
Registered: 2005-09-30
Posts: 9
Website

Re: Changing the style of textarea in admin.css

> mary wrote:

> It doesn’t have a class, style is applied globally to all textareas. Find the “textarea” rule in the stylesheet and you can see what the current font defined for it is.

Mary again thanks for your lead. But unfortunate it is for people who would like to have to edit non-English text in back end. I tried to change and went on with trial and error method. Finally, I also attributed the font for textarea in: /textpattern/textpattern/include/txt_article.

But the change did not take place. I am stuch here. Any solution will be a great help for me.

-Regards,
shekharpoorna

Offline

#7 2005-10-10 05:57:02

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Changing the style of textarea in admin.css

> “I tried to change and went on with trial and error method.”

Uh… What’s the problem? You find the rule, you change it.

> “Finally, I also attributed the font for textarea in: /textpattern/textpattern/include/txt_article”

What did you think that would do?

Offline

#8 2005-10-10 09:49:39

shekharpoorna
New Member
From: India
Registered: 2005-09-30
Posts: 9
Website

Re: Changing the style of textarea in admin.css

> mary wrote:

> > “I tried to change and went on with trial and error method.”

Uh… What’s the problem? You find the rule, you change it.

> “Finally, I also attributed the font for textarea in: /textpattern/textpattern/include/txt_article”

What did you think that would do?

I thought that if I change all the reference in all files to “textarea” would display the font I wanted it to display. But had no success. Though I dont want to give up, certainly sleepless nights to customise textpattern is beyond my capacity, that to being a sort of novice here.

And it is beyond my reach a professional in this regard.

-Regards
shekharpoorna

Last edited by shekharpoorna (2005-10-10 09:51:10)

Offline

#9 2005-10-10 20:46:47

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Changing the style of textarea in admin.css

We were talking about the stylesheet. Just open up the stylesheet and look for “textarea”, then make your changes.
?

Offline

#10 2005-10-11 07:32:31

shekharpoorna
New Member
From: India
Registered: 2005-09-30
Posts: 9
Website

Re: Changing the style of textarea in admin.css

> mary wrote:

> We were talking about the stylesheet. Just open up the stylesheet and look for “textarea”, then make your changes.
?
Mary,

since everything is set globally, if I change the “textarea” attributes in admin.css it get applied for every refrence to “textarea” in all the scripts. since we are trying to achive bilingual site management I dont think that is wiser to do. Besides, I did achive what I needed by hacking in to script.
Thanks for your response.

-Regards
shekharpoorna

Offline

Board footer

Powered by FluxBB