trizkar
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Freeze 1st row + columnsHi Tobias,
Thanks for your answer, I understand it is not always possible to do everything.
But thanks for your support !
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Freeze 1st row + columnsMy first row is hidden, do you think this is why it doesn’t work ?
Can I select the row I want to fix with a code such as
datatables_fixedheader=2Thanks
Hi Tobias,
This is working perfectly,
You made my day bro !
Really appreciate your help and availability 🙂
Thanks
Hi Tobias,
I managed to create the extra css classes but I don’t see why hover is not working
Here is the CSS
.tablepress-id-10 .row-highlight-dir:hover td { background-color: #21A61B !important; color: #FFFFFF; font-weight: bold; } .tablepress-id-10 .row-highlight-min:hover td { background-color: #CFA337 !important; color: #FFFFFF; font-weight: bold; }The shortcode I am using is
[table id=10 row_highlight="DIR||MIN" datatables_fixedcolumns_left_columns=1 /]I have created a new hidden column on the left side of the table and put DIR or MIN when necessary
As you can see nothing is highlighting with color (I removed the extra CSS previously done row by row)
Thanks
Hi Tobias,
Thanks for your reply.
I think this will help me a lot, I will let you know if I this is working !
Thanks
I think you will need more details to understand what I need.
I have a table which displays a list of members of my team (rows) and their ships (columns)
Their are separated in 5 sub teams with different colors, so I wanted to highlight the entire row with their specific team color when hovering any cell of this member’s rowThis is working if I do it separately with for example `.tablepress-id-10 .row-hover .row-24:hover td {
background-color: #FFFFFF
}`But I will have to change all rows numbers if I add new members in the table and this will be really hard to maintain
Is there a way to create 5 new classes for the 5 sub team colors and if I add a new member in the table I just have to enter in the cell the right class
Also what type of class should this be ?Many thanks for your help
Sorry there is a mistake in the second part of code
<div class="cellhover">User</div>