Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7733633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:02:46+00:00 2026-06-01T07:02:46+00:00

My simple setup: <div id=menuwrap> <div id=menu> <jdoc:include type=modules name=menu styles= /> </div> </div>

  • 0

My simple setup:

<div id="menuwrap"> 
    <div id="menu">
        <jdoc:include type="modules" name="menu" styles="" />
    </div>
</div>

And

ul.menu {
    display: inline-block;
}

because i need it to be centered.

This is displayed as follows (imagine it is centered on the screen):

    Menu_Item_1 | Menu_Item_1 | Menu_Item_3

I would like to add a search box (a standard Joomla search module) as a menu item. That is:

    Menu_Item_1 | Menu_Item_1 | Menu_Item_3 | Search...

I’ve tried to put the search module into another div, inside #menuwrap and float #menu to the left and #search to the right.

    Menu_Item_1 | Menu_Item_1 | Menu_Item_3 |                         Search...

This is OK until resizing:

    Menu_Item_1 | Menu_Item_1 |
    Menu_Item_3 |
                                Search...

The #search just gets pushed under the #menu (on the third line – this is because the display of the ul is inline-block). The goal is to remain on the same line as the menu (i.e., second line), as follows:

Menu_Item_1 | Menu_Item_1 |
Menu_Item_3 | Search...

Any suggestions? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:02:48+00:00Added an answer on June 1, 2026 at 7:02 am

    If I’m understanding you correctly – you want to embed the search module itself within a menu – rather than linking to it from a menu item.

    I think there are a number of ways to do this:

    The easiest way is to fake it. Put a background on the div that contains your module position – publish two modules to that position (the menu and the search module) use css to make sure they float alongside each other.

    Alternatively if you really need to embed the form within the same module I’d suggest creating a ‘custom module chrome’ to add the html of the search form to the output of any module you publish within a position that uses your custom module chrome style

    Here is an article covering the basics – probably for an older version of Joomla – but as far as I can tell the principle holds:
    http://docs.joomla.org/Applying_custom_module_chrome

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple page setup such as: <div id=aboutUs> About us content... </div>
I currently have a simple setup: a centered container div that is 90% width
I have a very simple Setup project that copies three dlls into the GAC.
I have a simple setup, where there are Products and Images. Products have many
I'm having a problem with a pretty simple setup in NHibernate. (I'm using Fluent
I've used tinymce for quite a while now (simple setup) and it has been
I have a simple inno-setup script that allows my setup to install either the
If I have a simple class setup like this: class MyClass { private string
I want to setup a simple site and I don't have any web development
Is there a simple way to setup different .gitignore files for different remotes? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.