• Could someone tell me how to change the main text color in PopBlue? When writing themes, how about using basic sense like textcolor: that way it can be found and changed easily, and it would be wise to use BLACK for a text color and if someone wants it light gray they can change it themselves. Black is much easier to read then GRAY!!!!! DUH!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • A link to your site would help.

    Thread Starter okmike

    (@okmike)

    how about using basic sense like textcolor

    Theme writers use CSS which applies to all web sites – not just WordPress driven sites. CSS does follow very clear and pretty simple syntax rules. The correct CSS name for textcolor is “color”.

    Black is much easier to read then GRAY!!!!! DUH!!!!

    1. That won’t work on all themes – one with a black background, for example.

    2. Plain (non-link) text is often black (or near black) on many light themes. Site owners (and visitors) often prefer links that are a different color to plain text.

    3. Black text on a white background is not easier to read. It causes glare and eye strain amongst normal users and may create text pixelation problems for those who use screen magnifiers. Very high contrasts between text and background should be avoided unless you are creating a site for a very specific, low-sight, audience (in which case, you’d probably use yellow on black).

    Before you decide what is, or what is not, logical to use within a theme’s stylesheet, may I suggest that you try learning about CSS?

    https://www.w3schools.com/css/

    In the meantime, if you want to change the perfectly acceptable color of your text, try editing {style.css (line 11)

    body
    color:#666666;
    font-family:Verdana,Arial,Helvetica,sans-serif;
    font-size:11px;
    }

    Personally, I think you’d be better advised to leave the text color “as is” and increase the font-size.

    Thread Starter okmike

    (@okmike)

    Thanks for the info, but unless the white of your screen is very bright, there should not be a problem with black text and people with bad eyes need more contrast. Increasing the text size is a good idea, I will probably do that as well now that I have found the line.

    I just did a search and could not find any part of that in the style.css file. Not even the number 666666. I did find this:

    body{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;margin:0;padding:0; color:#666;}

    I changed the color:#666; to #000 but nothing happened after upload.

    Thread Starter okmike

    (@okmike)

    I was able to change the text size which seemed to darken the text as well. Perhaps there was a server delay and both changes are showing now. I will have to test it out.
    Thanks,
    Mike

    unless the white of your screen is very bright, there should not be a problem with black text

    Not true. A contrast above about 7:1 causes increased eye strain amongst all users. Dyslexics who suffer from scoptic sensitivity may find text even at that contrast level unreadable.

    https://accessites.org/site/2006/10/designing-for-dyslexics-part-1-of-3/#n25
    https://blackwidows.co.uk/blog/2006/10/03/does-w3c-get-its-contrasts-wrong/

    and people with bad eyes need more contrast

    Yellow on black is often considered the de facto standard for high contrast sites. Green on black is another good choice. High contrast black on white, on the other hand, causes significant pixelation when using a screen magnifier which, again, makes the text difficult to read.

    I changed the color:#666; to #000 but nothing happened after upload.

    Remember to press CTRL and F5 simultaneously when viewing an updated page/site. That should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help with text color in PopBlue’ is closed to new replies.