Support » Themes and Templates » Changing colours in table cells

  • Hi,

    This is my releases page on my development site:

    Isn’t it nice? (Ignore that the pics are all the same!) All except that hideous cream colour in the alternate rows. I went to my CSS and changed the thead colour to #ffffff but something must be overriding that because the colour is still cream. If anyone can figure out how to get all the table rows nice and white, that would be great.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS work.

    me again 😉

    where you have (bgcolor=”fffff”) it should be “background-color” 😀

    I followed both your suggestions and now the colour’s a pale grey instead of cream, which is better but still not what i want. Hmmm.

    Ah, found it!

    .main-content article table tr:nth-child(2n) { background: rgba(0,0,0,0.05) }
    Change it to:
    .main-content article table tr:nth-child(2n) { background: white;}

    (Line 201 style.css)

    Thank you!

    God I love these forums. Full of smart people 🙂

    Really appreciate it j3d and esmi. Firebug is a great little add-on

    Your welcome.
    Yeah development would be a hell of a lot slower without “inspect element” in Chrome (effectively the same thing as Firebug, i just prefer the layout & Chrome :D)

    Glad you got it sorted, best of luck to you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing colours in table cells’ is closed to new replies.