Hi @webgardengeek .
This setting is saved using a pre-defined slug: className.
You can output it using block_field('className') or echo block_value('className').
More info here: https://github.com/getblocklab/block-lab/wiki/7.-FAQ
Thanks for your reply, but we’ve been testing this and it does not work at all unfortunately on our website.
Any ideas?
We have purchased the pro version of block lab and have it installed on cultureamp.com, cultureamp.com/blog (wordpress sub-directory multisite).
Please let us know if you have any suggestions.
-Dave
-
This reply was modified 6 years, 9 months ago by
webgardengeek. Reason: Not solved
Also get the same defect and I’m calling it like so:
<section class=“two-column-section column-section <?php block_field(‘className’); ?>” style=“background-color: <?php block_field(‘section-background-color’) ?>“>
background-color works fine but it’s not picking up the class name ast all.
Hi @culturecorp and @webgardengeek,
Sorry about that bug. I saw it also, and opened a PR for it:
https://github.com/getblocklab/block-lab/pull/353
We’re going to review that, and let you know when the fix will be released
Hi @culturecorp and @webgardengeek,
The fix for the className bug is now released in the new version 1.3.3, and ready for you to update the plugin when you’re ready.
Thanks for your patience.