magilla loves you

Adding a unique CSS class to contentheading on the frontpage

Posted in Joomla by shanDB on May 11, 2009

Items in the frontpage are made up of a table with 2 rows, but Joomla has given both rows the same class: contentpaneopen
In my site I wanted my article headings to be contained in a div with a coloured background, and the text within that div needed to have its own unique class (Which it currently does not with joomlas default file)

To access the php file to create your own unique class, head over to this file:

components/com_content/views/frontpage/tmpl/default_item.php

Leave a Reply