: Module Title Text - Two different colors : arias51 November 07, 2013, 07:14:48 PM I was wondering if you could show me how I can split the color of the module title text into two different shades?
www.firingsquad.us Example: Look at the 'Random Video' module on my site. Would like to add that text style to some of the other suffix's. : Re: Module Title Text - Two different colors : mikenicoll November 07, 2013, 07:24:44 PM Hello arias,
It will appear this way when you are not using a specific module class suffix override such as -lightgrayhighlight for example. It will just echo one of your highlight colors for the first word. -Mike : Re: Module Title Text - Two different colors : arias51 November 07, 2013, 07:31:18 PM Can that code be added to a module suffix though?
Or can I use that echo in a custom suffix instead of declaring a specific color? : Re: Module Title Text - Two different colors : mikenicoll November 07, 2013, 07:40:02 PM Hello,
You could add something like this to the index.php to target specific suffix's .module_round_box-lightgrayhighlight h3 .s5_h3_first {color:#<?php echo $s5_highlight_two; ?>;} -Mike : Re: Module Title Text - Two different colors : arias51 November 07, 2013, 11:22:11 PM Awesome, thanks Mike. I'll give it a try.
EDIT: Perfect! Actually just had to add it to the template.css file under my new suffix and viola! 8) Used this instead... .module_round_box-darkgrayRed .s5_h3_first { color:#c60000; } same premise though. Thanks again for the help. : Re: Module Title Text - Two different colors : mikenicoll November 08, 2013, 12:20:43 AM NP :)
-Mike |