• How to change font color to black?

    Default color is #666 (grey)

    I want #000.(black)

    How can I do it?

    Hueman version 3.1.3

    the default color is very unhealthy to eyes

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hi davikk. This CSS will change all font elements to black:

    * { color: black !important; }

    If you have certain fonts that you want to be another color you could target those elements specifically to change the color to something else.

    Thread Starter davikk

    (@davikk)

    Where should I add this code? at the bottom of main.css?

    Hi davikk,

    You should be adding into a child theme’s style.css
    So that it does not get over-written during theme update.

    https://docs.presscustomizr.com/article/239-using-a-child-theme-with-hueman

    Thank you

    Thread Starter davikk

    (@davikk)

    However, the entry font color now is black, but excerpts and summary texts are still grey. whats wrong?

    Please post a link to your site so we can see the CSS being applied. Thanks.

    Thread Starter davikk

    (@davikk)

    Where did you add the CSS code to change the font color?

    Thread Starter davikk

    (@davikk)

    main.css

    Not recommended.
    1. You’ll lose those changes when you update the theme.
    2. The theme doesn’t load that file unless you disable the default option to load the minified css file.

    That’s why @denzel recommended using a child theme and I recommended using a plugin.

    Thread Starter davikk

    (@davikk)

    wow, it worked!

    Thanks.

    One more question,

    how can I change color of the read-article headline?

    When anyone clicked a post, the color of that headline should be changed to indicated that post is read. and what color are you suggesting.

    Add this custom CSS:

    /* after user reads post change post title color */
    .home .post .post-title a:visited {
        color: #f00;
    }

    I just picked red so you could see if it works. You can change it to any color you like.

    I hadn’t even noticed that the default font color was gray before. I do like it much better with black, but when I added the above code from bdbrown into my style.css file in the child theme, every piece of text turned black.

    What would be the best way to change just the body text of posts and excerpts to black and leave everything else the default color?

    Currently, the menu text is set to white and link colors are orange, but when I added the above code, both those turned black, making them hard to read.

    Edit: Okay, so I added this code and my post content and excerpts are now black and everything else is the same.

    .entry { color: black; }
    .entry.excerpt { color: black; }

    @azbros

    every piece of text turned black.

    That’s what the OP requested.

    No problem, I was just curious how to change specific text. I figured out how to change the post text and excerpt, but the Category, Post Date, Comment Count and “By” (next to Author’s name) are still dark gray. Any idea what the code for changing those might be? I’m looking in the main.css file for the corresponding code to add to my child theme’s style.css, but I’m having a difficult time.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘How to change font color to black’ is closed to new replies.