title: Function PHP that check category post and change a part css of it (NO WORDPRESS)
body: <p>I'm trying to find a function (PHP5 programming) that check the category of post and according to the result will change (in homepage) a part style (background-color) of it.</p>
  
  <p>I don't know where start. Any suggestion ?</p>
  
  <p>(I'M NOT USING WORDPRESS)</p>
  
  <p>Thanks.</p>