OK. We do need to add a bit of php to strip some of the stuff out of the option name. I had forgotten that the variable $options_name actually includes some tags. And that is what is causing the double name etc.
For instance ---- $options_name = <label>then the option name</label>
Edit includes / templates / yourtemplate / templates / tpl_modules_attributes.php again!
Replace:
Code:
<div class="wrapperAttribsOptions" id="attributeBox-<?php echo $options_name[$i] ?>">
With
Code:
<?php $new2= strip_tags($options_name[$i]);?>
<?php $new3=str_replace(' ', '', $new2);?>
<?php $new4=strtolower($new3);?>
<div class="wrapperAttribsOptions" id="attributeBox-<?php echo $new4 ?>">
That will strip out the tags, remove any spaces, and make lowercase.
I'll attach the complete file too.
Get that far and then we can start adjusting the layout with css.