WordPress.org

Ready to get started?Download WordPress

Forums

Content Font Color Will Not Change! (8 posts)

  1. Preeminent
    Member
    Posted 5 years ago #

    I hate to ask such a dumb question, but no matter what I do with the css or actually editing the indivual posts, my font color is black. I've added font-color: #cccccc; to just about every css element I could think of. I've manually changed the font color in my posts to grey and it stays black no matter what!! I'm pulling my hair out! I viewed my blog's code source and in the html of my blog, there is a font-color: "black"; in all my posts. Well here's another stupid question. How can I access my html files to edit them? All I can get at is my css and php files. I've looked everywhere for the html. What would be causing the automatic black font color for all my posts? Thanks!

  2. Chrisber
    Member
    Posted 5 years ago #

    There are no html files to edit. Everything you would need to edit is contained in your php template files or in your style.css. Post a link to your site and someone may be able to find the problem in your code.

  3. crazytaxi
    Member
    Posted 5 years ago #

    some themes contain global font and color controls, so that could be the culprit. If you can't provide a link to your site, try switching to a test theme and see if you have the same problem. There's not much here for anyone to work with unless they know what variables are in play, but it resonates of a theme issue.

  4. Preeminent
    Member
    Posted 5 years ago #

    Thanks so much for the quick responses!
    The link is here: http://www.preeminentproductions.com/blog

    Well what is odd is that this happened just recently. I have only been working on this for a few weeks, but at first, the font color within the posts was a light color and could be read easier. And it was automatic. I didn't have to change anything.

  5. Preeminent
    Member
    Posted 5 years ago #

    I just don't get it! If there is nothing in my css that is indicating the text to be black. What in the world could be causing this?!

  6. Chrisber
    Member
    Posted 5 years ago #

    font-color is not a valid property. Just use color and everything should work.

  7. MoonbatWingnut
    Member
    Posted 5 years ago #

    Weird. Here's where all the black font is showing in the HTML when looked at in Firebug. But none of that is in the corresponding CSS.

    The ... is where I edited out stuff to make this post shorter.

    It looks like it's being called in from somewhere else in the theme files. Have you gone through all the Design>Theme Editor files and looked closely to see if it's being called from one of those files? Maybe try an alternate theme as a quick check to see if it's the theme.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    </head>
    <body>
    <div id="rap">
    <div id="header">
    </div>
    <div id="menu-left">
    </div>
    <div id="content">
    ...
    <div class="post">
    <font color="black"> </font>
    <h2 id="post-40">
    </h2>
    <font color="black"> </font>
    <div class="meta">
    </div>
    <font color="black"> </font>
    <div class="storycontent">
    </div>
    <font color="black"> </font>
    <div class="feedback">
    </div>
    </div>
    <div class="post">
    <font color="black"> </font>
    <h2 id="post-33">
    </h2>
    <font color="black"> </font>
    <div class="meta">
    </div>
    <font color="black"> </font>
    <div class="storycontent">
    <font color="black"> </font>
    <div id="attachment_34" class="wp-caption alignnone" style="width: 369px;">
    </div>
    ...
    
    <font color="black">
    </font>
    
    <font color="black"> </font>
    </div>
    <font color="black"> </font>
    <div class="feedback">
    </div>
    </div>
    ...
    <div class="post">
    <font color="black"> </font>
    <h2 id="post-17">
    </h2>
    <font color="black"> </font>
    <div class="meta">
    </div>
    <font color="black"> </font>
    <div class="storycontent">
    <font color="black"> </font>
    <p/>
    <div id="attachment_18" class="wp-caption alignleft" style="width: 475px;">
    </div>
    <font color="black">
    </font>
    </div>
    <font color="black"> </font>
    <div class="feedback">
    </div>
    </div>
    <div class="post">
    </div>
    <div class="post">
    </div>
    <font color="black">
    </font>
    </div>
    <div id="credit"> </div>
    <div id="footer">
    </div>
    </div>
    </body>
    </html>
  8. Preeminent
    Member
    Posted 5 years ago #

    Yeah, I just downloaded Firebug for this reason. Very odd. I will continue to look where you suggested. Thanks for the reply!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags