chaqnging a font color in PHP forum

Discussion in 'Web Design & Coding' started by IDLE, Jun 20, 2007.

  1. IDLE

    IDLE OSNN Senior Addict

    Messages:
    375
    i am trying to change the color of the font in the body of a post. like here it is a black color. i have a light grey back round with an even lighter grey font that is very hard to see. i just need to know where to change this color on the .css template file.

    help?
     
    Last edited: Jun 20, 2007
  2. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    what are the links to the forum and CSS?
     
  3. IDLE

    IDLE OSNN Senior Addict

    Messages:
    375
    i think i have to change the forum.css. this looks to be my link. i have modified this in taking out some things
     
  4. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    IDLE, what the address to your forum? I can only help if I know what the html and css from your forum look like.
     
  5. IDLE

    IDLE OSNN Senior Addict

    Messages:
    375
  6. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    In forum.css, at line 993 there's the following code:

    Code:
    .msgtext
    
        {
    
        line-height: 140%;
    
        border-top: 1px solid #ffffff;
    
        margin-top: 10px;
    }
    
    You want to change that to:

    Code:
    .msgtext
    
        {
    
        line-height: 140%;
    
        border-top: 1px solid #ffffff;
    
        margin-top: 10px;
    
    [B]    color: #ffffff;
    [/B]
    } 
    Of course you can use any other color too, but white would work best on that gray background.
     
  7. IDLE

    IDLE OSNN Senior Addict

    Messages:
    375
    didn work. tells me An invalid post id was requested
     
  8. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    Are you sure you edited forum.css and not some other file? Because editing CSS files shouldn't give you an error like that.
     
    IDLE likes this.
  9. IDLE

    IDLE OSNN Senior Addict

    Messages:
    375
    the file name was forum.css
     
  10. IDLE

    IDLE OSNN Senior Addict

    Messages:
    375
    i fixed my issue. there are two different views for the forum. threaded or flat view. i had it n treaded. once i changed it too flat, all is good.

    thank you so much for your help Grandmaster
     
    Last edited by a moderator: Jun 22, 2007