New Landing How can we help? Themeforest Theme Support Flexform FlexForm Missing Extra Class Implementation on Blank Spacer

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in: Flexform
  • #22068
    codacity
    Member
    Post count: 1

    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;
        }
    }
    
    #22322
    Melanie – SUPPORT
    Member
    Post count: 11032

    I’ll let the developer know, thanks!

    #22446
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks for letting us know, fixed for next update!

    – Ed

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register