Change text color in Twenty Ten Theme
-
I have been trying to change the text color in my Twenty Ten website at https://www.rsara.asn.au ….
…. to color #800000
At present I have to use the Visual Editor Kitchen Sink toolbar in the Page Edit screen to change the color every time I make a change to the text.
I have created a child theme and imported the style sheet of the Twenty Ten theme with the code
@import url("../twentyten/style.css");
I managed to change the color of the site-title by inserting the follwing code into the child theme after the import rule.
#site-title a { color: #800000; font-weight: bold; text-decoration: none; }
I have tried inserting a number of different sections of code after the foregoing site-title code in an attempt to change the color of the text in the body of the page but none of them worked.
I removed the fomatting inserted with the Kitchen Sink before I tested each change.
I could not find a solution when I searched this forum.
The following code was, suggested in someone elses two-year-old post but it didn’t work.
#content, #content input, #content textarea { color: #800000; !important; font-size: 16px; line-height: 24px; }
I also tried inserting at the bottom of the child theme style.css a number of different variations of the following code without success:
/* Main global 'theme' and typographic styles */ body { background: #f1f1f1; } body, input, textarea { color: #666; font-size: 12px; line-height: 18px; }
If I eventually manage to change the color of the text in the body of the static pages to #800000 I would like to push on and change the color of the Page-titles and Widgets.
But first things first. Page titles and widgets can come after I master the body text. Unless of course some kind person, to whom I shall be eternally grateful, can tell me how to change the color of the page-content-text, page-title and widgets all in a single response to this post.
- The topic ‘Change text color in Twenty Ten Theme’ is closed to new replies.