What's New
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Tagged: column width truncated
Hi,
I downloaded the newest transformer theme v4.5.6 and found a bug in stthemeeditor.php.
bug description: I am using Left/Right Column Widths with decimals : 1.5 and 2.4, but the HTML has decimals truncated:
sample
wrong:
<div id="right_column" class="main_column col-5 col-sm-3 col-md-2 col-lg-2 col-xl-2 col-xxl-1">
correct:
<div id="right_column" class="main_column col-5 col-sm-3 col-md-2-4 col-lg-2 col-xl-2 col-xxl-1-5">
I found that you put wrong smarty_val value == 2 instead of 1 in the following code:
'left_column_size_xl' => array('exp'=>1,'val'=>3, 'smarty_val' => 2),
'left_column_size_lg' => array('exp'=>1,'val'=>3, 'smarty_val' => 2),
'left_column_size_md' => array('exp'=>1,'val'=>3, 'smarty_val' => 2),
'left_column_size_sm' => array('exp'=>1,'val'=>4, 'smarty_val' => 2),
'left_column_size_xs' => array('exp'=>1,'val'=>6, 'smarty_val' => 2),
'left_column_size_xxs' => array('exp'=>1,'val'=>8, 'smarty_val' => 2),
'right_column_size_xl' => array('exp'=>1,'val'=>3, 'smarty_val' => 2),
'right_column_size_lg' => array('exp'=>1,'val'=>3, 'smarty_val' => 2),
'right_column_size_md' => array('exp'=>1,'val'=>3, 'smarty_val' => 2),
'right_column_size_sm' => array('exp'=>1,'val'=>4, 'smarty_val' => 2),
'right_column_size_xs' => array('exp'=>1,'val'=>6, 'smarty_val' => 2),
'right_column_size_xxs' => array('exp'=>1,'val'=>8, 'smarty_val' => 2),
The version 4.5.0 of the Transformer theme contains correct value “1” !!!
I already fixed my site by replacing ‘smarty_val’ => 2 with ‘smarty_val’ => 1
Could you include this fix into next release?
Thanks,
Sergiy
You must be logged in to reply to this topic.