NYCPHP Meetup

NYPHP.org

[joomla] div class="footer1", where is the CSS for this?

David Roth davidalanroth at gmail.com
Sun Feb 19 03:45:12 EST 2012


Thanks for the help, Helvécio. Very useful!

Where is the best place to add your own custom CSS as an override for
a commercial Joomla template so that it doesn't get wiped out by
updates? Thanks!

David Roth


On Sat, Feb 18, 2012 at 8:18 AM, Helvécio da Silva
<helvecio.rj at gmail.com> wrote:
> Try this:
>
> In your CSS stylesheet file declare the classes and add an !important at the
> end of the line. Notice the exclamation point (!) before important.
>
> This should override other declarations, if any.
>
> .footer1 {color: #F03 !important;}
> .footer1 {color: #C00 !important;}
>
> 2012/2/15 David Roth <davidalanroth at gmail.com>
>>
>> You might not believe this, but I can't find the CSS in Joomla 2.5.1
>> for footer1 or footer2. Is this not assigned all the time? Or is it
>> generated with through the magic of PHP and that's making it hard to
>> find?
>>
>> <div class="footer1">Copyright © 2012 My Little Test. All Rights
>> Reserved.</div>
>>
>> Assuming footer1 and footer2 isn't assigned all the time, where should
>> it be? template.css?
>>
>> In case you are wondering why I want to know this, I want to be able
>> to use a different font color for footer2. Thanks!
>>
>> David Roth



More information about the Joomla mailing list