Re: Quasar: Possibility to add extra icon class suffixes
Posted 15 years 2 months ago
Module Variations allow for the individual styling of each module within a position, without it being global. Code wise, this is achieved by adding a class into the module code which loads from the Module Class Suffix field in the Module Manager. The theme CSS adjusts accordingly.
Enter any available suffixes at Extensions ? Module Manager ? Module ? Module Class Suffix
There are 4 standard suffixes: icon1, icon2, icon3 & icon4; applicable to the maintop, mainbottom, content-top, content-bottom, footer and sidebar positions.
To extend the range of the Class Suffixes to enable another 4 icons making a total of 8 available, we can edit the png image file and add some extra css.
Note: This example is using the "Style3".
1. Download the module-icons.png file from /templates/rt_quasar_j15/images/body/style3/module-icons.png and open it in Fireworks. Create a new png file twice the height of the original with the icons from the original file in the same position (at the top) in the new file, then add your new icons and save, then upload the file replacing the original module-icons.png taking note of which theme variation you are using.
2. Edit the /templates/rt_quasar_j15/css/style3.css file and find: