1. Preview July Responsive Business Template - for Joomla! 2.5 & 3.1


    JA Smashboard - June Joomla 2.5 & 3.0 Responsive template Stable version released


    JM Lingerie - June Magento Theme Stable version released


    JA Wall Bundle version 1.0.9 - Now compatible with Joomla! 3.1


    JA Bistro version 2.5.4 - Now available for Joomla! 3.1


User Tag List

+ Reply to Thread
 
Results 1 to 5 of 5
  1. #1


    Join Date
    Sep 2010
    Posts
    32
    Points
    60.93
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Placing the search box on the top mega menu

    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
    Attached Images

  2. #2

     Expired

    Join Date
    Feb 2011
    Posts
    5,103
    Points
    10,973.10
    Downloads
    2959
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Thanks
    182
    Thanked 1,240 Times in 1,137 Posts
    You add the code into /templates/ja_purity_ii/blocks/mainnav.php
    Code:
    	<?php if($this->countModules('search1')) : ?>
    	<div id="ja-search1">
    		<jdoc:include type="modules" name="search1" />
    	</div>
    	<?php endif; ?>
    after
    Code:
    	<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    You add the code into /templates/ja_purity_ii/css/template.css
    Code:
    #ja-search1 {
    position: absolute;
    left: 0;
    }
    You set position of search menu is search1

  3. The Following 2 Users Say Thank You to khoand For This Useful Post:

    morsagmon (04-29-2012), yakusa (12-17-2012)

  4. #3


    Join Date
    Sep 2010
    Posts
    32
    Points
    60.93
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Not quiet there..

    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
    Attached Images

  5. #4


    Join Date
    Sep 2010
    Posts
    32
    Points
    60.93
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    4
    Thanked 0 Times in 0 Posts
    OK, solved it.
    I added this to the template.css file:
    Code:
    top: 9px;
    Thanks!

  6. #5

    JoomlaTemplate Club Member - Personal License - 1 Year Expired

    Join Date
    Mar 2012
    Posts
    46
    Points
    85.63
    Downloads
    66
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Is this the same config for JA Tiris? Need to add a search module to the menu bar.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts