-
AuthorPosts
-
January 21, 2009 at 5:20 pm #137330
Hi,
I want to use instead of banner and logo only a big picture (as width as the website and 300 pixel heigh) as header.
How can I do it please??
Thank you
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 22, 2009 at 8:35 am #287598Hi jana1,
Please try with my guide:
+ Open index.php file in templatesja_zinc folder, at about line 98, find following code section:
[PHP]<!– BEGIN: HEADER –>
<div id=”ja-headerwrap”>
<div id=”ja-header” class=”clearfix”><?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’); ?>
<div class=”logo-text”>
<p class=”site-slogan”><?php echo $sloganText;?></p>
<h1>
<a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
</h1>
</div>
<?php } ?><?php if ($this->countModules(‘banner’)) { ?>
<div id=”ja-banner”>
<jdoc:include type=”modules” name=”banner” style=”raw” />
</div>
<?php } ?></div>
</div>
<!– END: HEADER –>[/PHP]and change to:
[PHP]<!– BEGIN: HEADER –>
<div id=”ja-headerwrap”>
<div id=”ja-header” class=”clearfix”>
<?php if ($this->countModules(‘banner’)) { ?>
<div id=”ja-banner”>
<jdoc:include type=”modules” name=”banner” style=”raw” />
</div>
<?php } ?></div>
</div>
<!– END: HEADER –>[/PHP]+ Open file templates/ja_zinc/css/template.css, at about line 1287, find following script:
#ja-banner {
float: right;
margin: 20px 30px 0 0;
padding: 0;
text-align: center;
overflow: hidden;
}and change to:
#ja-banner {
float: left;
margin: 20px 30px 0 0;
padding: 0;
text-align: center;
overflow: hidden;
height: 300px;
}Hope it helps.
1 user says Thank You to JA Developer for this useful post
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by jana1 15 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum