Home Page About Us Security & Privacy ToS Add Your Link Add Your Article
Search:   
allarticlelist.com
Add Url
 

News & Events

Home Family & Garden

Technology & Science

Software & Networking

Eating & Drinking

Property & Agents

Entertainment

Fashion & Relationships

Self Management

Law & Politics

Sports

Society & Issues

Companies & Business

Healthcare & Treatment

Art & Creative

Vehicles & Automotive

Teens & Kids

Academics & Learning

Tour & Travel

Careers & Employment

Malls & Shopping

Online & Board Games

Health & Therapy

Finance & Investment

 

Home Page –› Software & Networking –› Web Development Services
 

Advanced Joomla Templating (pt1) Using Module Class Suffix

 

Author: Robert Palmer
an article from User Written Resources

1. duplicate the styles already used for the particular module, adding a suffix to each style name. this will definitely include some of the following;

1. .module {}
2. div.moduletable {}
3. div.moduletable h3 {}
4. table.moduletable {}/li>
5. table.moduletable th
6. table.moduletable td

and can include other styles used on the content in that section, such as;

1. ol, ul, li {}
2. a:link,a:visited,a:hover {}
3. a.readon:link,a.readon:visited,a.readon:hover {}

and others, note that certain modules already may have specific css styles associated with them (such as latestnews & mostread lists) so if you are modifying one of these modules, you might need to either remove the specific style so the module class suffix style can be applied, or just change those specific styles.

example from "freemambo template"

table.moduletable { float: left; padding: 0px; margin: 0px; width: 152px; background: url(../images/leftright.gif); } table.moduletable th { background: url(../images/subhead_bg.gif); font-size: 10px; text-align: center !important; text-align:center; padding-top: 4px; padding-left: 0px; height: 23px; text-decoration: none; width: 154px !important; width:152px; color:#FFFFFF; text-transform:uppercase; } table.moduletable td { font-size: 11px; padding-left: 5px; padding-right: 2px; font-weight: normal; color:#000000; }

no module suffix screenshot

2 .make changes to these styles as desired.

example of changes to "freemambo template" - adding suffix eg

table.moduletableeg { float: left; padding: 0px; margin: 0px; width: 152px; } table.moduletableeg th { background-color: #FF9900; color: #333333; font-size: 12px; text-align: center !important; text-align:center; padding-top: 2px; padding-left: 0px; height: 23px; text-decoration: none; width: 154px !important; width:152px; text-transform:lowercase; } table.moduletableeg td { background-color: #EEEEEE; font-size: 11px; padding-left: 5px; padding-right: 2px; font-weight: normal; color:#FF0000; }

eg module suffix screenshot

3. update the module class suffix within joomla administrator.

1. go to 'Modules' -> 'Site Modules'
2. click on the module you'd like to apply the new css styles to
3. enter the suffix you used in the module class suffix field & click 'Save'

site module - edit screenshot

Author Bio:

About The Author: William Wynn a Fashion Designer and Manufacturer of apparel for over 15 years. So stop by and visit me at www.plussizefigure.com for more great clothing.

You can also reach this article by using: Advanced Joomla Templating (pt1) Using Module Class Suffix, Software & Networking
 
 
 

Related Articles

 
You Can Laugh At Your Website Profits If You Follow This Simple Plan
 
Iggy Discovers USB Networking
 
Keywords - Key For All Doors
 
What You Need to Know About CSS!
 
Blogging to the Bank
 
How to Choose an Internet Marketing Company
 
Viral Marketing - Essential for Your Business Growth!
 
How To Train Your Workers For Search Engine Optimization
 
Cheap Web hosting
 
Real Tones: Cornering a Greater Share of the Mobile Ringtone Market
 
 
 
Home Page >> Security & Privacy >> ToS  
© 2006-2008 www.allarticlelist.com All Rights Reserved Worldwide.