Skip Navigation

[Resolved] table headers are repeating

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 11 months, 1 week ago.

Assisted by: Waqar.

Author
Posts
#2675835
issue.png

my table headers are repeating for each data entry. how do i fix this issue? screenshot attached.
thank you

#2676087

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see how this view with the table layout is set up in the admin area.

Can you please share temporary admin login details, along with the link to the page where this view is in use?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2676281

Thank you for sharing the access details.

I noticed that the view in question is using a 'table' block from WordPress to show the results in the loop. This is why a separate table is being created for each result and the header is shown repeated too.

To overcome this, I've included the following CSS code in the view's custom CSS field:
( screenshot: hidden link )


.js-wpv-loop-wrapper .wpv-block-loop-item:not(:first-of-type) table.has-fixed-layout thead {
 display: none;   
}

This code make sure that only header of the first table in the loop is visible.

#2676284

> also its weird does your plugin work well with any particular content editor (elementor, wp bakery) cause its kind of buggy lately.

- Toolset plugins can be used with the other editors or page builders like Elementor, WP Bakery etc.

The blocks based elements of Toolset are designed to work with the WordPress default 'Gutenberg' editor. When working with the other page builders, you can switch to classic editor to create content templates, views and archives.

To enable that, you can go to WP Admin > Toolset > Settings > General and select the option "Show both the legacy and Blocks interface and let me choose which to use for each item I build" for the "Editing Experience".

You'll find the documentation on using the classic editor features at:
https://toolset.com/documentation/legacy-features/views-plugin/

#2676649

THANK YOU.