test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • morsagmon Friend
    #176566

    Hello.
    Using Joomla 1.7.3 with JA Purity II.
    I’d like to place the search box on the top mega menu.
    My preference is to have it always justified to the LEFT, regardless of the number of menu entries (this is a RTL menu, so, starting from right to left).
    If you can guide me on how to do this – great!
    Since I couldn’t find a way to do this, I will probably compromise for putting the search module as the last menu entry (no left-justified). I managed to do this by way of adding a “text separator” item, with “show title” = NO and “group” = YES. HOWEVER, In addition to the search box showing correctly on the menu, there’s a thin white line added below that causes a whole stripper to be added below the menu – see attachment.
    How do I get rid of this white line?

    Thanks!
    Mor


    1. search_in_megamenu_white_line
    khoand Friend
    #450634

    You add the code into /templates/ja_purity_ii/blocks/mainnav.php

    <?php if($this->countModules('search1')) : ?>
    <div id="ja-search1">
    <jdoc:include type="modules" name="search1" />
    </div>
    <?php endif; ?>

    after

    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    You add the code into /templates/ja_purity_ii/css/template.css

    #ja-search1 {
    position: absolute;
    left: 0;
    }

    You set position of search menu is search1

    morsagmon Friend
    #450644

    Thank you Khoand!
    We’re getting there.
    See in the attached, the searchbox is placed BELOW the megamenu. How do we move it up?
    Thanks!
    Mor


    1. search_in_megamenu_below
    morsagmon Friend
    #450646

    OK, solved it.
    I added this to the template.css file:

    top: 9px;

    Thanks!

    Darren Scott Friend
    #460396

    Is this the same config for JA Tiris? Need to add a search module to the menu bar.

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

This topic contains 5 replies, has 3 voices, and was last updated by  Darren Scott 12 years, 5 months ago.

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