Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,880
- Plugin Contributions:
- 7
left boxes style width has no parameter if BOX_WIDTH_LEFT not set
If in Admin->Layout Settings->Column Width - Left Boxes (BOX_WIDTH_LEFT) has no value, neither does $column_width and so tp_box_default_left.php
<div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
produces
"style=width:"
I have no value at the moment while playing with a responsive layout.
I assume this is the same for the right.
I did this
( $column_width == '' ) ? $style_width = '' : $style_width = ' style="width:' . $column_width . '"';
<div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>"<?php echo $style_width; ?>>
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...