test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • sandrinedel Friend
    #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


    1. essai
    HeR0 Friend
    #467371

    Hi Sandrinedel,

    The width of header image is large, you can reduce it accordingly. Pls see our demo for more details.

    Regards,

    sandrinedel Friend
    #467387

    thanks for your answer but I would like to be placed in front of the search image I do not know how

    HeR0 Friend
    #467389

    Hi 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>

Viewing 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