hello,
I'am using the ICKI Sports template. I want to change the background color of the div#component to black, but only on the frontpage! Does anyone know how to do this??
Thanks in advance!
Gerry Procee
<?php
// including template header files
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/gk_head.php');
?>
<?php $css_code = " div#component { background: none repeat scroll 0 0 #000000; } "; ?>
<?php $menu = & JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { $document->addStyleDeclaration($css_code); } ?>
<head>
<jdoc:include type="head" />
<?php
// including template header files
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/gk_head.php');
?>
<?php $css_code = " div#component { background: none repeat scroll 0 0 #000000; } "; ?>
<?php $menu = & JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { $document->addStyleDeclaration($css_code); } ?>
</head>