-
AuthorPosts
-
April 28, 2012 at 11:33 am #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
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 28, 2012 at 4:47 pm #450634You 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 search1April 28, 2012 at 5:59 pm #450644Thank 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
April 28, 2012 at 6:46 pm #450646OK, solved it.
I added this to the template.css file:
top: 9px;
Thanks!
July 9, 2012 at 9:10 pm #460396Is this the same config for JA Tiris? Need to add a search module to the menu bar.
AuthorPostsViewing 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
Jump to forum