If you added new module what class did you used for it? Blank/Default, I don't think so? or I'm wrong.
So use and add to template.css (on the bottom)
- Code: Select all
.mystyle {border:2px solid red;padding:4px;}
or add using style="border:2px solid red;padding:4px; " directly to <div> that surround you NEW module.
- Code: Select all
<?php if($this->modules('myposition')) : ?>
<div style="border:2px solid red;padding:4px; ">
<jdoc:include type="modules" name="myposition" style="<?php echo $this->module_styles['myposition']; ?>" />
</div>
<?php endif; ?>
If you enable module, you should see RED BOX
IMPORTANT:CHECK YOUR PHP CODE AGAIN DO YOU HAVE ” or " - should be "
and ' NOT ’