Hi,
In reply to: https://kriesi.at/support/topic/tabular-table-column-headings-screwed-up-since-v3-0-1/
Thanks for the suggestion, but I prefer the table not to be scrollable. Is there a PHP function or something I can use, to place the headings correctly? Seems to me that ultimately, this should be fixed in the theme’s core code.
Thanks in advance.
Kind regards,
Ralph
Hey,
I fixed it in the core code (enfold\config-templatebuilder\avia-shortcodes\table.php). On line 294 there’s this piece of code:
td:nth-of-type(".($counter + 1).")
Remove the “+ 1” and the table headings are correct again.
Anyway, the problem is that this fix has to be re-done after each theme update. Which is why I’m wondering whether you perhaps know of a permanent fix?
Also, why is the “+ 1” there since v3.0.1? All it does is misplace the headings.
Thanks in advance,
Ralph
Hey!
Thank you for the heads up. Can you please give us a link to the actual page? We would like to reproduce it on our installation. See if the fix really works. I’ll ask Kriesi to take a look.
Best regards,
Ismael