Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • gabec53 Friend
    #143249

    I am trying to move the JA Sulfur Template’s Menu bar to right above the Slideshow. Wondering if anyone knows how to do that. Maybe someone knows where to modufy the code for that or CSS or whatever. Thanks in advanced!

    My temporary domain is 02e2005.netsolhost.com/cms

    Anonymous Moderator
    #313452

    Hi gabec53,

    + Open templates/ja_sulfur/index.php file, at about line 70, find following code:


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

    and change to:

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

    + Open templates/ja_sulfur/ja_menus/ja_splitmenu/ja.splitmenu.css file, at about line 13, find following code:

    #ja-splitmenu {
    margin:0;
    padding:0;
    }

    and change to:

    #ja-splitmenu {
    float:right;
    margin:0;
    padding:0;
    }

    gabec53 Friend
    #314428

    I CANNOT BELIEVE IT! You are amazing. This is fixed! THANK YOU THANK YOU THANK YOU!

    tbojan Friend
    #315133

    I love this change, but would like to edit it a bit more.
    Firstly, I would like to know how I can decrease the height of the Header and the main menu.
    Secondly, how do I align the search box and the language menu to be on the same line?
    Or even if I align the search box to the top with 0 margin.
    Thanks
    BT

    nick mortensen Friend
    #315245

    When I did that, I ended up with two menus. Did I do something wrong? has anyone else experienced this issue and found out how they were able to fix it? I’d appreciate any help or advice you have.

    –As it turned out, I forgot to delete the whole thing and instead only pasted in the extra part that was listed in red. the fix is very good and I do heartily appreciate it. I’ll leave my error in the record in case another person makes the same error.

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

This topic contains 5 replies, has 4 voices, and was last updated by  nick mortensen 15 years, 3 months ago.

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