Joomla Module Style Suffix


Author Message
JonDiego

Posted: 7/9/2010
Quote message 

I have heard a lot of people say they can't figure out how to style a module after generating a template using artisteer. This is how i do it and it works well.

For this example, we will use the "banner1" position .

Login to your admin side of website.

Go to Template Manager>CHOOSE TEMPLATE>Edit HTML.

Find code for position:

<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />


Change to:
<jdoc:include type="modules" name="banner1" style="xhtml" />


You can then add a suffix to the module such as "-center"

Add CSS style code to "template.css" file like this"

.moduletable-center{ }


Save and Refresh
 
Ralf Tenbrink

Posted: 7/12/2010
Quote message 

This seems easy and for some modules positions this will work. But how do I do that for the "right" position for example? The jdoc is not used there.

I will try the other positions as you explained as that would already be a great step forward