You have to combine css codes and create a new suffix.
Example creating a _darkmenu suffix. Which has dark module header & background and white K2 menu.
Use _darkmenu in Module Manager, look for K2 Tools module type and enter our suffix then goto any K2 page and you will see categories on the right of an article.
This is just a basic example. If you want to convert menu colors and text colors you will also need to add extra codes for K2 classes used in Menu...
Find File: templatesgk_twn2csstemplate.css
Find Line: 200 which is below
- Code: Select all
/* - _menu */
#gkPage .box_menu { }
#gkPage .box_menu > div { margin: 0; }
#gkPage .box_menu div.content { margin: 12px; }
#gkPage .box_menu > div > h3.header { background: #fff; border-bottom: 1px solid #e3e3e3; margin: 0; width: 100%; float: none; border-top: none; height: auto; }
#gkPage .box_menu > div > h3.header > span { font-size: 20px; text-transform: uppercase; line-height: 42px; height: 38px; margin: 1px; color: #333; text-indent: 12px; display: block; border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; -webkit-border-radius: 2px 2px 0 0; background: #eee; float: none; text-shadow: 0 1px 0 #fff; }
/* - big */
Add before /* - big */ our custom suffix code which is below.
- Code: Select all
/* - _darkmenu */
#gkPage .box_darkmenu { overflow: hidden; margin-top:8px; background: #333; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
#gkPage .box_darkmenu > div { margin: 0; }
#gkPage .box_darkmenu div.content { margin: 12px; }
#gkPage .box_darkmenu > div > h3.header { background: #333; border-bottom: 1px solid #3e3e3e; margin: 0; width: 100%; float: none; border-top: none; height: auto; }
#gkPage .box_darkmenu > div > h3.header > span { font-size: 20px; text-transform: uppercase; line-height: 42px; height: 38px; margin: 1px; color: #fff; text-indent: 12px; display: block; border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; -webkit-border-radius: 2px 2px 0 0; background: #444; float: none; text-shadow: 0 1px 0 #bd2309; }
So they all look like below
- Code: Select all
/* - _menu */
#gkPage .box_menu { }
#gkPage .box_menu > div { margin: 0; }
#gkPage .box_menu div.content { margin: 12px; }
#gkPage .box_menu > div > h3.header { background: #fff; border-bottom: 1px solid #e3e3e3; margin: 0; width: 100%; float: none; border-top: none; height: auto; }
#gkPage .box_menu > div > h3.header > span { font-size: 20px; text-transform: uppercase; line-height: 42px; height: 38px; margin: 1px; color: #333; text-indent: 12px; display: block; border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; -webkit-border-radius: 2px 2px 0 0; background: #eee; float: none; text-shadow: 0 1px 0 #fff; }
/* - _darkmenu */
#gkPage .box_darkmenu { overflow: hidden; margin-top:8px; background: #333; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
#gkPage .box_darkmenu > div { margin: 0; }
#gkPage .box_darkmenu div.content { margin: 12px; }
#gkPage .box_darkmenu > div > h3.header { background: #333; border-bottom: 1px solid #3e3e3e; margin: 0; width: 100%; float: none; border-top: none; height: auto; }
#gkPage .box_darkmenu > div > h3.header > span { font-size: 20px; text-transform: uppercase; line-height: 42px; height: 38px; margin: 1px; color: #fff; text-indent: 12px; display: block; border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; -webkit-border-radius: 2px 2px 0 0; background: #444; float: none; text-shadow: 0 1px 0 #bd2309; }
/* - big */