I saw a repetition. Te code in the page is now
[table id=3 highlight=”TOTS” highlight_full_cell_match=”false” datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,4,5,6,7,8 /]
But it’s the same. doesn’t work
Hi,
thanks for your post, and sorry for the trouble.
Are you sure that you installed AND activated the Cell Highlight Extension as a WordPress plugin?
Regards,
Tobias
Hi,
Yes. I have uninstalled, installed again, activate and the same. Nothing happens.
regards
Lucio
Hi,
If possible, I’d like to take a direct look at this on your site. Could you therefore please get in touch via email (the address is in the main plugin file “tablepress.php”)? That way, I can investigate this directly. Thanks!
Regards,
Tobias
Hi,
thanks for the email! I was now able to take a look and found the cause:
Probably from copy/paste, some quotation marks were wrong, but this was not really visible in the “Visual” editor. I therefore switched to the “Text” editor and then replaced them with regular ones, i.e. I replaced ”with ".
Additonally, the CSS needed to be changed to
.tablepress .highlight-tots {
background-color: #fcfc03 !important;
}
so that the highlighting is working now 🙂
Regards,
Tobias
Hi.
Thak you very much for all it works great!
Another question. Is possible to highlight more than a word simultaneously. I want that if I put a wordt takes a colour but if I put another different word it takes another colour.
I was triying repeating the instruction or adding with color or semicolon to the instruction in the page but doesn’t work. Only highlight the first word.
Regards
Lucio
Hi Lucio,
yes, this is possible. Just combine the words with || (logic OR connector), like
[table id=1 highlight="one||two||three" /]
Regards,
Tobias
Hi,
Thanks again. All it’s working fine.
Regards
Lucio
Hi Lucio,
great! Thanks for the confirmation!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
Hi Tobias,
I’ve only just found and started experimenting with your plugin – it looks really nice!
To continue this post’s idea, is it possible to not only automatically highlight a cell’s colour from its contents, but to increase that cells row height too, please? E.g., if the keyword is ONE and a cell has ONE in it, can only that row be green and double in row height?
(I know I can change individual row heights with the CSS options, but I want to avoid that and have one global solution if possible, please.)
Thanks,
Steve
Hi Steve,
sure, increasing the row height is possible as well. This would just be a matter of using the correct CSS code, like
.tablepress .highlight-one {
background-color: #00ff00 !important;
height: 80px;
}
Regards,
Tobias