InfoList Settings issue
-
Hi there,
in the InfoList Settings there is this label:set width in pixel eg, 80px
At line 47 of info_list_son.php there is:
<li class="vc_info_list" style="padding-bottom: <?php echo $connector_h; ?>; border-left: <?php echo $listwidth; ?> <?php echo $liststyle; ?> <?php echo $listclr; ?>; display: table;margin-left: <?php echo $width/2+$borderwidth; ?>px; float: none; margin-bottom: 2px;">
…causing a warning, due the fact 80px/2 is not a numeric value.
I temporary solved adding:
`$content = wpb_js_remove_wpautop($content, true);
$width = intval($width);
$height = intval($height);
$borderwidth = intval($borderwidth);
ob_start(); ?>May I have a feedback on this?
Kind regards
- The topic ‘InfoList Settings issue’ is closed to new replies.