Title: Column Heading &#8211; Color
Last modified: August 21, 2016

---

# Column Heading – Color

 *  Resolved [fairmountwebdesign](https://wordpress.org/support/users/fairmountwebdesigngmailcom/)
 * (@fairmountwebdesigngmailcom)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/column-heading-color/)
 * Hi –
 * Can you provide the code to change the color for the various elements in the 
   table. Ie. Column Heading, Highlight Color, etc.
 * Thanks so much – it is a great plugin – very easy to use!
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [fairmountwebdesign](https://wordpress.org/support/users/fairmountwebdesigngmailcom/)
 * (@fairmountwebdesigngmailcom)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/column-heading-color/#post-3775877)
 * I found where you specify how to change the column heading color (very helpful),
   but also want to change the color when the column is highlighted. I entered this
   code, but the latter is not working.
 * .tablepress thead th,
    .tablepress tfoot th { background-color: #bbc695; }
 * .row-hover tr:hover td {
    background-color: #bbc695; }
 * It is still a bright blue when I place my cursor over the column heading.
 * Thank you@
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/column-heading-color/#post-3775886)
 * Hi,
 * thanks for your question!
 * You can find the necessary code for this (you are already very close) in the 
   answer to the question “How can I change the color used for highlighting hovered
   rows?” in the TablePress FAQ at [http://tablepress.org/faq/](http://tablepress.org/faq/)
 * Regards,
    Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/column-heading-color/#post-3775887)
 * HI again,
 * wait, after re-reading your question, is sounds as if you want to highlight the
   column (and not the row) when it is hovered (or when it is sorted upon)?! I’m
   confused, I guess… 🙂 Could you please explain in more detail what exactly you
   want to change?
 * Regards,
    Tobias
 *  Thread Starter [fairmountwebdesign](https://wordpress.org/support/users/fairmountwebdesigngmailcom/)
 * (@fairmountwebdesigngmailcom)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/column-heading-color/#post-3775894)
 * Wow – thanks for responding so quickly. Sorry for the confusion.
 * Yes – I want to change the color of the column when you hover over it.
 * Thanks!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/column-heading-color/#post-3775908)
 * Hi,
 * thanks for the explanation!
 * Unfortunately, that’s not possible right now 🙁 The reason for that is the HTML
   structure of a table: Basically, “cells (td)” are children of “rows (tr)”, which
   again are children of the “table body (tbody)”, which are children of the “table(
   table)”. There is no real HTML element “column”, and therefore it can not be 
   addressed in CSS code, e.g. to apply a color, when it is hovered.
    To achieve
   something like this, you would therefore need some custom JavaScript code, that
   registers when a cell is hovered, and then applies some styling to the cells 
   that are in the same column – and that removes that styling again, when a different
   cell is hovered.
 * Regards,
    Tobias
 *  [Ivona Perecman](https://wordpress.org/support/users/ivonanycgmailcom/)
 * (@ivonanycgmailcom)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/column-heading-color/#post-3776304)
 * How do I change the blue highlight color? it is not the same as the hover color,
   i dont see any info on that? the default is electric blue. thanks
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/column-heading-color/#post-3776305)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Have you tried the various examples for the background colors of rows/cells in
   the TablePress FAQ at [http://tablepress.org/faq/](http://tablepress.org/faq/)?
   That should actually cover all colors.
    Otherwise, please post a link to the 
   page with the table where this problem happens, so that I can take a direct look?
   Thanks!
 * Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Column Heading – Color’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [color](https://wordpress.org/support/topic-tag/color/)

 * 7 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/column-heading-color/#post-3776305)
 * Status: resolved