change certain words to colour
-
i would like to change certain words to yellow , is there a code for this and how do i use it
the words are titles of sections in a page ( below ) , harry
http://harrythehandyman.wordpress.com/small-how-to-jobs-about-the-home/ ,
The blog I need help with is: (visible only to logged in users)
-
You can change the font color on any word by using the HTML editor and doing this manually. Instructions are found here > http://en.support.wordpress.com/editors/font-size-color/
-
-
Go to the Visual editor and we will try another approach. Click the kitchen sink icon at the end of Row 1 of the icons. A second row of icons will appear. Locate the one with the big letter A on it. Now highlight the word “gardening” with your mouse to select it. Next while that text is selected click the drop down arrow on the big letter A icon and select and click the color of yellow you want. Done.
-
You have a mistake in your code. Between georgia and color there should be a semicolon, not a colon. The following is correct.
<span style="font-family: georgia; color: #ffff00;">gardening</span> -
-
-
BTW harrythehandyman, I would also suggest that you go to settings > writing in your dashboard and select “WordPress should correct invalidly nested XHTML automatically” and then click save. WP will then automatically correct most XHTML/HTML errors for you automatically in posts and pages.
-
thank you both for your help
@thesacredpath , success , i spotted my mistakes in the code and it worked in my test blog now to do it with about 100 words in my blog
what do you mean by mistakes/errors in the above post , what will it do
because i turned on proofreader a month ago and it took out a lot of content from my pages its of now and the pages fixed , would the above do the same
@ timethief i will play around with your kitchen sink :( in my test blog
-
BTW if i want to colour a word in the middle of a sentenance i take it i have to put the code at that word
such as ( middle ) above the code has to be around it , harry
-
Any chance that someday this will be made “un-fiddly,” i.e., that just like “Bold” or “Ital.,” that color (even if only, say, red/blue/green options) will be added to the text toolbar?
Just wondering.
-
@Harry
You have two alternatives. The one that’s provided here > http://en.support.wordpress.com/editors/font-size-color/
And the one where you use the Fonts icon in the Visual editor > https://en.forums.wordpress.com/topic/change-certain-words-to-colour?replies=11#post-447944 -
Any chance that someday this will be made “un-fiddly,” i.e., that just like “Bold” or “Ital.,” that color (even if only, say, red/blue/green options) will be added to the text toolbar?
I can’t answer that and wonder the same thing myself. WordPress uses the free open source TinyMVE editor and it most certainly does have these functions. I have no idea why the version of the editor we have is so primitive, especially when the full functions we bloggers want and would welcome are available. See > http://tinymce.moxiecode.com/examples/full.php
-
Thanks, t’thief. No big deal, just wondering.
(Much) more pressing to me is the matter of a number of my pages that have “vanished” when I *thought* I was putting them under parent pages (see my Support Question posted about an hour or so ago). This is somewhat worrisome.
Thanks in advance…
Richard
-
@letsjapan
I answered you. The sub-pages did not “disappear”. The theme you use does not display them so you need to use a Pages widget in order to provide access to them. See here > https://en.forums.wordpress.com/topic/parent-child-pages-missing-child-pages?replies=2 -
@ letsjapan
I, to be honest, see no reason for that to be done when, as timethief said, you have the letter icon with a full palette when you click the arrow and also when, optionally, you click the more colours. (Even though it took me an awful while to notice the “kitchen sink”),@ letsjapan, timethief
I agree, there are options I really think that should be added (actually, I was quite surprised they weren’t there *frown*), specifically the font-size, font-family (with the safe fonts) and the font background colour (the highlighting). It was an unpleasant bit trying to figure them out. Thanks to Panos for the help he provides with his wordpresstips blog (smile). And yeah, I would love to see that toolbar timethief.My apologies if I went off course the post’s issue,
-
You are not off-topic. We have a primitive version of the TIinyMCE editor and we don’t know why that is. There is a strong demand within the wordpress.com community to be able to do simple things like font family and color changes by clicking buttons in the editor. We do not know why the full functions that are in the updated version of TinyMCE have not been included and we do not know whether or not we will be seeing those features any time soon.
-
I see… This is troublesome. May I ask, if you happen to know, if this matter and the strong demand to solve it is already an “old” issue?
-
This is something that I don’t remember staff ever responding to, but it is definitely something that has been requested many times. They did take a step in the right direction on this when they added the typekit fonts feature, but it still requires that you do it via coding.
You can always send a question directly into support and ask them about it and if they respond, you can post the answer back here in the forums for all to see.
-
@ thesacredpath
Just finished sending and if I get a reply I’ll be sure to post it. Hopefully. Thank you for the help guys (smile).
- The topic ‘change certain words to colour’ is closed to new replies.