-
AuthorPosts
-
September 17, 2012 at 9:05 am #180742
Hello, I would like the search and social modules to be placed before the image header, edit the file template.css coment or something else to do? Thank you in advance!
see the attached picture
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
September 18, 2012 at 8:41 am #467371Hi Sandrinedel,
The width of header image is large, you can reduce it accordingly. Pls see our demo for more details.
Regards,
September 18, 2012 at 10:00 am #467387thanks for your answer but I would like to be placed in front of the search image I do not know how
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
September 18, 2012 at 10:17 am #467389Hi Sandrinedel
Open file templates/ja_nex/blocks/header.php and find
[PHP]if ($this->getParam(‘logoType’, ‘image’)==’image’): ?>
<h1 class=”logo”>
<a href=”<?php JURI::base(true) ?>” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
</h1>
<?php else:
$logoText = (trim($this->getParam(‘logoText’))==”) ? $siteName : JText::_(trim($this->getParam(‘logoText’)));
$sloganText = JText::_(trim($this->getParam(‘sloganText’))); ?>
<div class=”logo-text”>
<h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
</div>
<?php endif; ?>
<div class=”topheader clearfix”>
<?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”search” />
</div>
<?php endif; ?><?php if($this->countModules(‘social’)) : ?>
<div id=”ja-social”>
<jdoc:include type=”modules” name=”social” />
</div>
<?php endif; ?>
</div>[/PHP]
replace to
[PHP]
<div class=”topheader clearfix”>
<?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”search” />
</div>
<?php endif; ?><?php if($this->countModules(‘social’)) : ?>
<div id=”ja-social”>
<jdoc:include type=”modules” name=”social” />
</div>
<?php endif; ?>
</div>
if ($this->getParam(‘logoType’, ‘image’)==’image’): ?>
<h1 class=”logo”>
<a href=”<?php JURI::base(true) ?>” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
</h1>
<?php else:
$logoText = (trim($this->getParam(‘logoText’))==”) ? $siteName : JText::_(trim($this->getParam(‘logoText’)));
$sloganText = JText::_(trim($this->getParam(‘sloganText’))); ?>
<div class=”logo-text”>
<h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
</div>
<?php endif; ?>
[/PHP]
<em>@sandrinedel 338682 wrote:</em><blockquote>thanks for your answer but I would like to be placed in front of the search image I do not know how</blockquote>AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by HeR0 12 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
how place the module in front of the search image header
Viewing 4 posts - 1 through 4 (of 4 total)