Title: Additional Class
Last modified: June 24, 2019

---

# Additional Class

 *  Resolved [webgardengeek](https://wordpress.org/support/users/webgardengeek/)
 * (@webgardengeek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/)
 * When building custom blocks in block lab is there an easy way to integrate the
   dynamic field “Additional Class” from the advanced section in the block editor
   sidebar on the righthand side of the edit window?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/#post-11668602)
 * Hi [@webgardengeek](https://wordpress.org/support/users/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](https://github.com/getblocklab/block-lab/wiki/7.-FAQ)
 *  Thread Starter [webgardengeek](https://wordpress.org/support/users/webgardengeek/)
 * (@webgardengeek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/#post-11671256)
 * 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, 11 months ago by [webgardengeek](https://wordpress.org/support/users/webgardengeek/).
      Reason: Not solved
 *  [culturecorp](https://wordpress.org/support/users/culturecorp/)
 * (@culturecorp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/#post-11671385)
 * 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.
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/#post-11675487)
 * Hi [@culturecorp](https://wordpress.org/support/users/culturecorp/) and [@webgardengeek](https://wordpress.org/support/users/webgardengeek/),
   
   Sorry about that bug. I saw it also, and opened a PR for it:
 * [https://github.com/getblocklab/block-lab/pull/353](https://github.com/getblocklab/block-lab/pull/353)
 * We’re going to review that, and let you know when the fix will be released
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/#post-11680663)
 * Hi [@culturecorp](https://wordpress.org/support/users/culturecorp/) and [@webgardengeek](https://wordpress.org/support/users/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.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Additional Class’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/block-lab_5c34e8.svg)
 * [Block Lab](https://wordpress.org/plugins/block-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/block-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-lab/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/additional-class/#post-11680663)
 * Status: resolved