1. *HOT* JA Teline V will be back this holiday. >>> [ Demo (updated Dec 17) ] <<<


    *Season's greetings* - Christmas 2014 logo decorations by JoomlArt artists [ Submit your logo here ]


    JM Magento Themes forum is now read-only. To submit question/ticket for UberTheme.com: [ Click here! ]

User Tag List

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


    Join Date
    Sep 2010
    Posts
    24
    Points
    61.52
    Downloads
    9
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    5
    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
    4,842
    Points
    10,973.10
    Downloads
    2959
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Thanks
    168
    Thanked 1,186 Times in 1,089 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
    24
    Points
    61.52
    Downloads
    9
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    5
    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
    24
    Points
    61.52
    Downloads
    9
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    5
    Thanked 0 Times in 0 Posts
    OK, solved it.
    I added this to the template.css file:
    Code:
    top: 9px;
    Thanks!

  6. #5
    Licensed Member
    Magento Single Product - Personal License - 1 domain [JM SportsGear]Joomla Template Club Member - 1 Year Expired

    Join Date
    Mar 2012
    Posts
    46
    Points
    85.63
    Downloads
    126
    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

Stop working on Weekend!X

If your Boss broke your Joomla template or extension and ask you to fix it today. Here is the immediate solution. Then leave your request on the right forum, we will be helping after the Weekend Happy hours
Our Happy Hours: Friday 18:00 - Monday 9:00

No working during happy hours. Keep calm and don't break anything.