How to change color of text in table?

Viewing 7 posts - 1 through 7 (of 7 total)
#113190

This is my code:
[wpdm_all_packages items_per_page="5" order_by="publish_date" order="DESC" cols="title,package_size|download_count|publish_date|download_link" colheads="Dokument|Broj preuzetih dokumenata|Datum|Preuzeti"]

how to change color of text inside rows to be diferent with one in header?

#113331

Shahriar
Moderator

Please send your page URL. Maybe adding some custom CSS will do the trick.

#113461

Shahriar
Moderator

Add the following CSS to Appearance > Customize > Additional CSS. Adjust the color code if you want differernt color.

#wpdm-all-packages tbody {
    color: #fff;
}
#113478

I didn’t explain the question as I should, sorry about that. I meant for background color in header. I try:

#wpdm-all-packages thead {
    background-color: #2D2D2D;
}

but that not working. I add !important but that not working either.

#wpdm-all-packages thead {
    background-color: #2D2D2D !important;
}

Edit:
I manage with this code:

#wpdmmydls-282150f43734ff6e20d949f441ac579d th {
	background-color: #2D2D2D !important;
}

Is this ok or is there something better?

#113495

Shahriar
Moderator

Looks like you have changed the table header color. The following code should work too.

#wpdm-all-packages table thead tr th { background: #2D2D2D !important; }

#113496

You’re right. Thanks

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

The topic ‘How to change color of text in table?’ is closed to new replies.