Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • marcometer Friend
    #189566

    Hey folks,

    I’d like to delete the position of the search function next to the main navigation.

    I’d like to have more space for the main navigation, so it doesn’t end up in two lines. It can be seen on http://www.louisendorf.de

    Those positions aren’t dragable in the backend.

    I’m thankful for any reply.


    1. prob
    pavit Moderator
    #501616

    Hi

    You can do in this way

    open this file templatesja_merotplsblocksmainnav.php and edit it in this way

    <!-- MAIN NAVIGATION -->
    <nav id="ja-mainnav" class="wrap ja-mainnav navbar-collapse-fixed-top">
    <div class="container navbar">
    <div class="navbar-inner">

    <div class="row">
    <div class="span8" data-xtablet="span12">

    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    </button>

    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
    <?php endif ?>
    </div>
    </div>

    <?php if ($this->countModules('head-search')) : ?>
    <!-- HEAD SEARCH -->
    <div class="span4<?php $this->_c('head-search', array('xtablet' => 'hidden'))?>">
    <div class="head-search">
    <jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
    </div>
    </div>
    <!-- //HEAD SEARCH -->
    <?php endif ?>
    </div>

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

    After taken a backup of this file delete the part of code in Red and modify the <div class=”span8″ data-xtablet=”span12″> to
    <div class=”span12″ data-xtablet=”span12″>

    marcometer Friend
    #501617

    The position disappeared in the Layout.

    The only remaining issue is, that I’d like to resize the width of the navigation, so that the marked navigation part is aligned to the others ones.


    1. prob
    pavit Moderator
    #501621

    modify the
    <div class="span8" data-xtablet="span12">
    to

    <div class="span12" data-xtablet="span12">

    marcometer Friend
    #501623

    <em>@pavit 384063 wrote:</em><blockquote>modify the
    <div class="span8" data-xtablet="span12">
    to

    <div class="span12" data-xtablet="span12">
    </blockquote>

    Didn’t work 🙁

    pavit Moderator
    #501625

    Could you PM me a temp super user account for your backend ?

    I will try to take a look at it

    pavit Moderator
    #501630

    File was not modified i have changed <div class=”span8″ to <div class=”span12″

    Now it works

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

This topic contains 7 replies, has 2 voices, and was last updated by  pavit 11 years, 3 months ago.

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