• Resolved decimus

    (@decimus)


    Looking to change
    1) the background color of the Table Header (successful)
    2) the text color of just the Table Header (unsuccessful)

    These are my tables:
    http://www.ringwood-dogs.com/pricing/

    This is the custom css I’ve used

    .tablepress thead th,
    .tablepress tfoot th {
    	background-color: #33cc33;
            color: #003300;
    }

    Is there also an way to increase the font size of just the header text. I did it manually in the table cell:
    <big>DOG WALKING:</big>

    many thanks

    https://wordpress.org/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that your theme applies CSS styling to tables as well, in a rather aggressive manner. You will therefore need to prepend your CSS selectors with an enxtra #content selector.

    From what I can see, you also added some extra HTML tags in your table header cells, like <font>, <strong>, and <big>. All of those can be replaced by some CSS code as well, so that I suggest to remove them (so that the cells only contain the desired text) and then use this “Custom CSS” to adjust the styling:

    #content .tablepress thead th,
    #content .tablepress tfoot th {
    	background-color: #33cc33;
            color: #003300;
            font-weight: bold;
            font-size: 18px;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Table Header Text Color’ is closed to new replies.