April 28, 2012 at 11:33 am #176566
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?
- Join date:
- February 2011
April 28, 2012 at 4:47 pm #450634
- 1166 times in 1060 posts
You add the code into /templates/ja_purity_ii/blocks/mainnav.php
<?php if($this->countModules('search1')) : ?>
<jdoc:include type="modules" name="search1" />
<?php endif; ?>
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
You add the code into /templates/ja_purity_ii/css/template.css
You set position of search menu is search1April 28, 2012 at 5:59 pm #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?
MorApril 28, 2012 at 6:46 pm #450646
OK, solved it.
I added this to the template.css file:
Thanks!Darren Scott Friend
- Join date:
- September 2014
July 9, 2012 at 9:10 pm #460396
Is 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)
You must be logged in to reply to this topic.
JA Law Firm Released
Lawyer & Business Joomla template now available for download
Jump to forum