Comments Frits Strijbos started the conversationMarch 27, 2023 at 9:56amHello,If I have two items selected to compare I get three columns of which one is empty. Is there a way to hide the empty column?Thanks for the support!Kind regards,Frits StrijbosAttached files: WPClever Smart Compare.png 767Janilyn repliedMarch 28, 2023 at 10:18amHi Frits, Thank you for contacting WPClever Support Forum. We’ve received your ticket and assigned one of our developers to help you with that. He’ll be looking into your question and responding with specific instructions as soon as possible. Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back. Best regards.Janilyn T. - WPClever Support Agent 1,238Dustin repliedMarch 31, 2023 at 8:20pmHi Frits,Please add the below custom code (How to add custom code?) add_filter( 'woosc_get_table_minimum_columns', function () { return 1; } );And all empty columns will be hidden https://www.screencast.com/t/ALiFN6sJORPlease add below CSS code to WP-Admin → Appearance → Customize → Additional CSS: .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items table tbody tr.tr-image td.td-placeholder { background-image: none; } .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items table tbody tr td.td-placeholder:before { display: none; }All empty columns still be kept but haven't the background https://www.screencast.com/t/2TYePpyEBest regards,DustinFrits Strijbos repliedApril 3, 2023 at 9:15amHello Dustin, Thank you for the support! The code works like a charme. Kind regards,Frits Strijbos Sign in to reply ...
Hello,
If I have two items selected to compare I get three columns of which one is empty. Is there a way to hide the empty column?
Thanks for the support!
Kind regards,
Frits Strijbos
Attached files: WPClever Smart Compare.png
Hi Frits,
Thank you for contacting WPClever Support Forum.
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.
Best regards.
Janilyn T. - WPClever Support Agent
Hi Frits,
Please add the below custom code (How to add custom code?)
And all empty columns will be hidden https://www.screencast.com/t/ALiFN6sJ
OR
Please add below CSS code to WP-Admin → Appearance → Customize → Additional CSS:
All empty columns still be kept but haven't the background https://www.screencast.com/t/2TYePpyE
Best regards,
Dustin
Hello Dustin,
Thank you for the support!
The code works like a charme.
Kind regards,
Frits Strijbos