NYCPHP Meetup

NYPHP.org

[joomla] Changing article title's style?

Christopher French chris at theendrecords.com
Wed Mar 2 13:49:10 EST 2011


If you did a template over ride for com_content in your html folder in your template. You could probably come up with a short foreach loop or something to give one class to the first  instance of title and than a different class to the rest. 

That is how you would have to do it. 

as for "selectable", you could hard code the classes in the template and  use something to select different CSS files. 

I forget the name, but there was a component that would let you select different CSS files to be included for your  different menu items. 

that might work. 



On Mar 1, 2011, at 3:01 PM, David Roth wrote:

> In Joomla, is there a way to be able to change the article title style? For example, using Joomla for a blog...
> 
> First Blog Entry Title (color of text orange, font Times)
> 
> Second Blog Entry Title (color of text green, font Courier)
> 
> I know a template would make this static, but how could this be done to be user selectable? Is there a way to easily select from several templates to do this? Thanks!
> 
> David Roth
> 
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the Joomla mailing list