It's been while since I have asked anything and I know this is the place for help. You guys and girls have never failed.
I put together a Joomla site (using the JA Purity template) for the North American Blokart Association (NABSA).
You can see in the header the Logo on the left and an image rotation (on refresh or new page view) on the right.
I have been trying to move the image rotation so it is more centered between the Logo and the Search function. but no matter what I do it does not do what I want.
Here is the code for the header. The code in question is at the top in the ja-header div. (I thinnk)
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
[B]<div id="ja-header" class="clearfix" style="background: url(<?php echo $tmpTools->templateurl(); ?>/images/header/<?php echo $tmpTools->getRandomImage(dirname(__FILE__).DS.'images/header'); ?>) no-repeat top <?php if($this->direction == 'rtl') echo 'left'; else echo 'right';?>;">
<div class="ja-headermask"> </div>
<?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image'): ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php else:
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php endif; ?>
<?php $tmpTools->genToolMenu(JA_TOOL_FONT, 'png'); ?>
<?php if($this->countModules('user4')) : ?>
<div id="ja-search">
<jdoc:include type="modules" name="user4" />
</div>
<?php endif; ?>
</div>
</div>
<!-- END: HEADER -->
Here is the CSS for the header area.
/* HEADER
--------------------------------------------------------- */
#ja-headerwrap {
background: #333333;
color: #CCCCCC;
line-height: normal;
height: 120px;
padding-top:10px;
}
#ja-header {
position: relative;
height: 120px;
}
.ja-headermask {
width: 602px;
display: block;
/*background: url(../images/header-mask.png) no-repeat top right;*/
height: 100px;
position: absolute;
top: 0;
right: -1px;
}
#ja-header a {
color: #CCCCCC;
}
h1.logo, h1.logo-text {
margin: 0 0 0 5px;
padding: 0;
font-size: 180%;
text-transform: uppercase;
}
h1.logo a {
width: 400px;
display: block;
/*background: url(../images/logo.png) no-repeat;*/
background: url(../../../images/banners/nabsa5-1.jpg) no-repeat;
height: 120px;
position: relative;
z-index: 100;
}
h1.logo a span {
position: absolute;
top: -1000px;
}
h1.logo-text a {
color: #CCCCCC !important;
text-decoration: none;
outline: none;
position: absolute;
bottom: 40px;
left: 5px;
}
p.site-slogan {
margin: 0;
padding: 0;
padding: 2px 5px;
color: #FFFFFF;
background: #444444;
font-size: 92%;
position: absolute;
bottom: 20px;
left: 0;
}
I have posted this question in the Joomla forums but am receiving no answers what so ever.
Thanks for any thoughts on this fix.
Dave