Hi I want to have different header_bg on different pages rather than the same header_ bg on all pages across the site.
Ive created additional Image Show GK4 modules and edited what I want on them then assigned them to by menu.
In the template stylesheet I've added an addition css class and then added nobga to one of the Image Show GK4 modules under module suffix
#gkHeader.nobga {
background: transparent url('../images/header_bga.jpg') no-repeat center top;
/*min-height: 760px;*/
}
This isnt working the way I thought it would. I then looked at the php code and noticed this for file defailt.php
<?php if($this->API->modules('header')) : ?>
<section id="gkHeader"<?php if($header_nobg): ?> class="nobg"<?php endif; ?>>
<?php if(!$header_nobg): ?>
<div class="gkPage">
<?php endif; ?>
<jdoc:include type="modules" name="header" style="<?php echo $this->module_styles['header']; ?>" />
<?php if(!$header_nobg): ?>
</div>
<?php endif; ?>
</section>
<?php endif; ?>
I'm guessing this needs editing for me to achieve what I want to do?
Can you help