Comments 1Mee started the conversationJanuary 27, 2022 at 1:41pmI am trying to set absolute column widths with css like this... table.wpDataTable td.Firstcol {color:#103F94; font-weight: bold; width: 600px;!important}table.wpDataTable td.DataCol{ width:100px;!important} The problem is that once I implement my tables on the site it doesn't seems to listen to the css. Is there any other way of defining the column widths? Thanks! 3Jens repliedJanuary 30, 2022 at 12:30pmHi Mee,It's easier and better to put a CSS class on the column.See attachement:.width-110px{ width: 110px;}Best regardsJens1 Like 1Mee repliedJanuary 30, 2022 at 12:38pmGreat, thank you very much! 2,572Aleksandar repliedJanuary 31, 2022 at 1:29pmThank you for your assistance Jens!Mee, if you have any further questions or issues, please feel free to open a new ticket and we'll gladly help.Kind Regards, Aleksandar Vuković[email protected] Rate my support wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community You can try wpDataTables add-ons before purchasing on these sandbox sites: Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables Sign in to reply ...
I am trying to set absolute column widths with css like this...
table.wpDataTable td.Firstcol {color:#103F94; font-weight: bold; width: 600px;!important}
table.wpDataTable td.DataCol{ width:100px;!important}
The problem is that once I implement my tables on the site it doesn't seems to listen to the css. Is there any other way of defining the column widths?
Thanks!
Hi Mee,
It's easier and better to put a CSS class on the column.
See attachement:
.width-110px
{
width: 110px;
}
Best regards
Jens
Great, thank you very much!
Thank you for your assistance Jens!
Mee, if you have any further questions or issues, please feel free to open a new ticket and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables