Welcome to Geeklog, Anonymous Sunday, January 05 2025 @ 02:34 am EST
Geeklog Forums
Changing Text Colors
Anonymous
Anonymous
How do you change the default text color for a new theme?? i was trying to put together a new theme with a star background and now I can't read the black text.
-Rob
6
4
Quote
Status: offline
rawdata
Forum User
Full Member
Registered: 02/17/03
Posts: 236
The default color of text can be changed through style sheets using the "color" attribute. The value is expressed in hex or you can use the commonly used words. If you want to change the text for the whole page to let's say red, it would look like this:
example: body { color: #ff0000; } or body { color: red; }
Sometimes you'll notice the color is not being inherited when you put text into some of the tags. If you notice this occurring, just add that tag to the style too like this:
example: body, td, a { color: #ff0000; }
If the theme you're modifying has the color attribute listed right inside a tag, that will take precedence. You'll either need to remove it or you can change the color right there instead. Personally, I like putting all that stuff into a style sheet file because I think it's much easier to change.
7
7
Quote
All times are EST. The time is now 02:34 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content