Skip Navigation

[Resolved] View Block's custom css class setting not working properly

This support ticket is created 4 years, 11 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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 4 years, 9 months ago.

Assisted by: Waqar.

Author
Posts
#1433083

This is mostly a bug report.

I am using toolset blocks on a new site and noticed that the View Block has a custom CSS class section under its block settings, but when I add a custom CSS class, it doesn't show up on the front-end of the website to use for custom CSS.

This also is the case for the View Output block within the main View Block. The only one that seems to work is the View Loop custom CSS class setting, but it applies it to each item inside the loop, not the outer loop wrapper which is what I would expect.

Thanks!

#1434273

Hi Ronald,

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

This "Additional CSS Class(es)" field is originally included in the blocks by WordPress core and our development team is already aware of its limited support for Toolset blocks.

There are plans to improve support for this field in future releases and I'll keep you updated with the progress, through this ticket.

For now, you can use a workaround to apply a custom CSS class through this field, to a "Views" block. You can create a view through a different page than you originally plan to use it and then use a "Views" block to show this view on the original page. In my test, the custom CSS class is applied to it, when an existing view is selected in the "Views" block.

I hope this helps and thank you for bringing this forward.

regards,
Waqar

#1448177

Hi Ronald,

I've received an update from the development team that the support for the "Additional CSS Class(es)" field in the settings of various Toolset Blocks will be covered in the next release.

I'll let you know through this ticket, once it releases.

regards,
Waqar

#1498021

Hi Ronald,

I'd like to update that a fix for this issue has been included in the releases of Toolset Views (3.1.0) and Blocks (1.1.0) plugins.

You're welcome to update and let us know, in case the issue still persists.

regards,
Waqar