Skip Navigation

[Resolved] Design broken of Toolbox blocks due to setup in WP Rocket

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 2 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#2504873
WP Rocket 5.png
WP Rocket 4.png
WP Rocket 3.png
WP Rocket 2.png
WP Rocket 1.png

We purchased the WP Rocket plugin since it is compatible with Toolset. We need to set up WP Rocket in connection with the use of Toolbox blocks. We followed the advice in a similar post on this form and excluded
/wp-content/plugins/toolset-blocks/public/css/views-frontend.css
and
/wp-content/plugins/toolset-blocks/(.*).js
/wp-content/plugins/types/(.*).js
from the CSS/JS File Optimization features in the WP Rocket setup (please see attached screenshots).
This works fine for many pages using Toolbox blocks; e.g. hidden link
But on hidden link the design is broken (this page contains three times the same design as used in the top of hidden link where it is shown correctly). You can see the design on hidden link.

Do we need to exclude any additional CSS/JS files from the CSS/JS File Optimization features in the WP Rocket setup?

Thank you very much for your kind assistance.

#2505207

Hello,

Please follow our document to exclude Toolset CSS/JS files from WP Rocket plugin:
https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/
How to use Optimization Plugins with Toolset

#2505225

Hi Luo,

thanks for the link. I already went through this documentation before. But I was hoping that we would not need to exclude ALL of these Toolset resource files from the optimization plugin. Could you help us to narrow this a bit down to the needed resource files?

#2505227

In your case, you just need to exclude those CSS/JS files from Toolset Blocks plugin, see above document, section "Toolset Blocks".