How to change font colour to black on posts
-
Hey guys,
Just launched a new geek site, but want the font colour to be black instead of pale grey, really got no idea about CSS, so any help is appreciated! Cheers :) http://torrentthis.tv
The blog I need help with is: (visible only to logged in users)
-
This should do it:
body, html { color: #000; }Since the link colour is also black/not underlined, once you make this change there will be no way to identify links in your text, so I’d suggest you define a new link colour too.
article a { color: #bb00bb; }You can change the example purple to whatever colour code you prefer.
Learning how to target your site’s CSS will help you make certain design and layout changes. Here are some very helpful posts that will help you customize your site with CSS:
https://dailypost.wordpress.com/2013/07/25/css-selectors/
http://dailypost.wordpress.com/2013/06/21/css-intro/
http://dailypost.wordpress.com/2013/08/29/css-matched-rule-pane/
http://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/
https://thewc.co/articles/view/web-inspector-tutorial
Since CSS is new to you, here are some resources for learning more about it:
-
Thank you! Was also wondering if you knew how to make my body text not bold? The entire body is bold and makes it difficult to read :(
-
Give this a try:
article { font-weight: 200; }I also noticed you have a stray period here, so this isn’t being applied yet:
body, html { color: #4F4F4F.; }Change that to:
body, html { color: #4F4F4F; }…and you’ll see the colour change.
- The topic ‘How to change font colour to black on posts’ is closed to new replies.