test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • phenomeno Friend
    #166183

    The answer in the links is for black theme

    http://www.joomlart.com/forums/topic/is-it-possible-to-put-search-field-in-the-main-menu-bar/

    I need for default theme.

    Please help:-*

    himangi Friend
    #400775

    Hi

    When you make changes in some block, that change is applied for all the themes by default. Try changing the block mainnav.php as explained in the link you have given and check if you can see search in the same line as menu.

    If you need further help with this, let me know.

    phenomeno Friend
    #400781

    I had already tried.

    This is what i see after I made changes to mainnav.php
    :-[


    1. Senza-titolo-2
    himangi Friend
    #400894

    Hi

    This seems to be because you havent changed the css styling for the search div and the menu div. Previously when Search was somewhere else, the styling was done to make it fit and look good in that place which may not be suitable for the current search place. Same for the menu, previously it had a full width to spread in but now it needs to decreased so that search can fit on the same line..

    If you can provide your site url here, where I can see the menu and search like in your screenshot, I can suggest you what all changes you need to do..

    phenomeno Friend
    himangi Friend
    #400964

    Hi,

    Have you addes ‘search-menu’ position in the mainnav.php block file? If so can you please publish the search module there? Currently I see the main menu and search at totally different places.

    phenomeno Friend
    #400967

    see now! thanks

    phenomeno Friend
    #401034

    please help!!!

    himangi Friend
    #401081

    Hi,

    sorry I misinterpreted and thought you have got it..

    In your template.css file add following styling.
    #ja-megamenu {
    width:70%; float:left;
    }
    #ja-searchnav{
    width:30%;float:right;
    }

    phenomeno Friend
    #401113

    Dear HImangi,

    thanks for your precious help….
    But when I make a search, or I go on another page the field come back to the wrong position ;(
    This works only on homepage!

    himangi Friend
    #401130

    Hi,

    The template seems to be using different profiles for home page and other pages. Can you please provide your site url and admin access details at http://support.joomlart.com/index.php?/Tickets/Ticket/View/76411 so that I can take a look?

    phenomeno Friend
    #401185

    The profile is the same for all pages;
    I’ve just added this to templatesja_eventsblocksmainnav.php after <div class=”ja-mainnav-mask”> </div>

    <?php if($this->countModules(‘search-menu’)) : ?>
    <div id=”ja-searchnav”>
    <jdoc:include type=”modules” name=”search-menu” />
    </div>
    <?php endif; ?>

    Then I have added to css/template.css this string:

    #ja-searchnav{
    position:absolute;
    right:45px;
    top:25px;
    }

    #ja-searchnav label {
    display: none;
    }

    Then I’ve assigned the search module to the search-menu position.
    Working fine only in home page!

    :confused::confused::confused::confused:

    phenomeno Friend
    #401206

    SOLVED!!!

    I had to unselect all menu list and then select all again and It works!!!

    thank you!!!

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

This topic contains 13 replies, has 2 voices, and was last updated by  phenomeno 13 years, 5 months ago.

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