Jump to content
n00bster

mod_custom, double class entrys

Recommended Posts

n00bster

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

Share this post


Link to post
Kristian

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.