Archived topic
Toolset View Block not displaying correctly in Hook Element
3 replies · Started by Whelan on February 15, 2022
Hi
I have a recurring problem with blocks not displaying correctly when they are inserted in GP Premium Elements. When editing the Element, the blocks display correctly, but when viewing the page where the Element appears, the blocks inside the Element have no style.
Is this a GP Premium problem or a Toolset problem?
Here is an example: https://www.hovestationforum.co.uk/#supporters
On this page, the logos displayed under the heading "Organisations that support our objectives" are supposed to be thumbnails in a seven-column grid (see screenshots).


I've tested it in Troubleshooting mode with only necessary plugins enabled, and it's still not working.
PS
Caches have been cleared and there is minimal optimization by UpDraftPlus Premium as follows:
Gzip compression
Browser static file caching headers
Hi there,
Toolset probably only checks the_content for its blocks, so you would need to ask Toolset how to get it to check for a hooked in Element.
Thanks for your reply. Toolset customer support is looking into it. The views worked when I created them, but at some time point... after x number of auto-updates of wp core, plugins and themes, something has changed and the views lose their style.
I don't have a solution yet, but if anyone else has a similar problem, they can follow progress here: https://toolset.com/forums/topic/view-block-in-hook-has-lost-css-style-again/
OK thanks for sharing the link.
Let us know how you get on.