test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • minas69 Friend
    #167248

    Hi,

    I want to place the logo above the main menu ( see pictures )…

    What I have to do ?

    Thanks for your comments

    mina


    1. sg1
    2. sg
    jooservices Friend
    #405368

    Yes, you can.
    It’s simply.
    open index.php in template folder. Move code from line 95 – 122 to 81 ( above Main Navigation ).
    It will look like this


    1. 8-10-2011-5-42-22-PM
    khoand Friend
    #405371

    <em>@minas69 258647 wrote:</em><blockquote>Hi,

    I want to place the logo above the main menu ( see pictures )…

    What I have to do ?

    Thanks for your comments

    mina</blockquote>
    Hi,
    You repalce this code from templatesja_sulfurindex.php

    <!-- MAIN NAVIGATION-->
    <div id="ja-mainnav" class="wrap">
    <div class="main clearfix">

    <ul class="no-display">
    <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("SKIP TO CONTENT");?>"><?php echo JText::_("SKIP TO CONTENT");?></a></li>
    </ul>

    <?php if($ja_menutype!='none') { $jamenu->genMenu (0); } ?>

    </div></div>
    <!-- //MAIN NAVIGATION-->

    <!-- HEADER -->
    <div id="ja-header" class="wrap">
    <div class="main 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>
    <span class="site-slogan"><?php echo $sloganText;?></span>
    </h1>
    <?php } ?>

    <?php if ($this->countModules('user4')) { ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="user4" style="raw" />
    </div>
    <?php } ?>

    </div>
    </div>
    <!-- //HEADER -->

    with

    <!-- HEADER -->
    <div id="ja-header" class="wrap">
    <div class="main 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>
    <span class="site-slogan"><?php echo $sloganText;?></span>
    </h1>
    <?php } ?>

    <?php if ($this->countModules('user4')) { ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="user4" style="raw" />
    </div>
    <?php } ?>

    </div>
    </div>
    <!-- //HEADER -->
    <!-- MAIN NAVIGATION-->
    <div id="ja-mainnav" class="wrap">
    <div class="main clearfix">

    <ul class="no-display">
    <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("SKIP TO CONTENT");?>"><?php echo JText::_("SKIP TO CONTENT");?></a></li>
    </ul>

    <?php if($ja_menutype!='none') { $jamenu->genMenu (0); } ?>

    </div></div>
    <!-- //MAIN NAVIGATION-->

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 3 voices, and was last updated by  khoand 13 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum