-
AuthorPosts
-
August 11, 2010 at 9:28 am #153352
I am fairly new to Joomla and in the process of setting up our site – I have decided not to have a logo at the top of every page and instead use the slideshow to incorporate my logo . Firstly I need to know how to exclude the logo from every page.
Secondly my home page slide show is 690 x 250px in size and the slideshow that I wish to use on all the other pages is only 690 x 161px. The problem I have is the space on all the other pages is too big for the smaller slideshow meaning that there is a big gap between the smaller slide show and the content below – I need to know how to close this gap – do I need to create a new module position to achieve this and if so how?Thanks
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 12, 2010 at 10:18 am #352442Please find below the steps to get the logo and slideshow customized:
For the issue #1: open the file: templates/ja_helio/index.php file and remove the following code:
[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’); ?>
<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 } ?>
<?php if ($this->countModules(‘top’)) { ?>
<div id=”ja-login”>
<jdoc:include type=”modules” name=”top” style=”raw” />
</div>
<?php } ?>
</div>
</div>
<!– END: HEADER –>
[/PHP]For the issue #2: create 2 slideshow modules,
– one with dimension 690 x 250px: assign this module to show in Homepage only by selectting home menu in the menu assignment parameter (Click on module title to access this setting panel)
– other with dimension 690 x 216px: select all menu other than “home” in the menu assignment parameterThen, open the file: templates/ja_helio/css/template.css and find codes:
#ja-topsl {
color: #FFFFFF;
height: 250px;
margin-bottom: 25px;
}replace with:
#ja-topsl {
color: #FFFFFF;margin-bottom: 25px;
}1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by Saguaros 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-