Hi,
I entered two classes for the blank spacer on FlexForm, and they didn’t render. When I investigated in the code further, I noticed in default.php located in wp-content/themes/flexform/includes/page-builder/composer/lib/shortcodes that it’s missing the otherwise standard el_class attribute within the markup. Wanted to pass that along. I’m correcting from my end. Otherwise, fantastic product–makes the lives of experienced web developers really easy to bang out a product in a day or less!
class WPBakeryShortCode_blank_spacer extends WPBakeryShortCode {
protected function content( $atts, $content = null ) {
$height = '';
extract(shortcode_atts(array(
'height' => '',
'spacer_id' => ''
), $atts));
$width = wpb_translateColumnWidthToSpan("1/1");
$output = '';
if ($spacer_id != "") {
$output .= '<div id="'.$spacer_id.'" class="blank_spacer '.$width.'" style="height:'.$height.';">';
} else {
$output .= '<div class="blank_spacer '.$width.'" style="height:'.$height.';">';
}
$output .= '</div>'.$this->endBlockComment('divider')."\n";
return $output;
}
}