Jump to content

mod_custom, double class entrys


n00bster

Recommended Posts

i have set in the "Module Class Suffix" options like this:

bg-dark-green-fox padding-15

after that i noticed that the iReview theme is rendering the padding-15 statement twice, look at the image.

i looked in the override folder from the theme and found this code where the statement is produced for the second time in the frontend custom modules:

<div class="custom <?php echo $moduleclass_sfx ?>" <?php if ($params->get('backgroundimage')) : ?> style="background-image:url(<?php echo $params->get('backgroundimage');?>)"<?php endif;?> >
    <?php echo $module->content;?>
</div>

when i delete this piece of code <?php echo $moduleclass_sfx ?> it does only render one padding-15 class.

 

not a big thing but it looks like a bug.

 

 
Edited by n00bster
Link to comment
×
×
  • Create New...