Adding a search field to the Maximenu CK

More
8 years 9 months ago - 8 years 9 months ago #33028 by adrian_vg
Hi all!

Looking to add a search box on the main menu of my intranet site using Maximenu CK.
I'd like it to be just like on www.joomla.org/ , with the search box to the far right.

Is this easy to do? How?

I can't for the life of me find out how to add it as a menuitem.

What I've done so far is to add a search menu to the same position as the menu bar, see pic.




Can you guys help?

Using Joomla 3 and the latest Maximenu CK module.
No Parameters addon installed yet, I'm happy with the free version at the moment.

Thanks.

--
//AvG
Attachments:
Last edit: 8 years 9 months ago by adrian_vg.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #33036 by ced1870
Hi
you can use the "align_right" like explained here (using params)
docs.joomlack.fr/maximenu-ck/4-list-of-available-css-classes

Else you must add some CSS with "float:right" targetting the item with its CSS class

and in this item, use the option to load a module with [modid=XX] (as you don't have the params)

CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #33037 by adrian_vg

ced1870 wrote: Hi
you can use the "align_right" like explained here (using params)
docs.joomlack.fr/maximenu-ck/4-list-of-available-css-classes

Else you must add some CSS with "float:right" targetting the item with its CSS class

and in this item, use the option to load a module with [modid=XX] (as you don't have the params)

CEd


Thanks!

I've experimented with the CSS and float:right in joomla/templates/protostar/css/custom.css which contains the below.
Code:
.navigation ul.nav {float: left;} .navigation form {float: right;width: 300px;} .navigation {height: 34px}

Was this the wrong place to add it to?

In any case, would buying and installing the Parameters addon help in this case?

I suck at coding...

--
//AvG

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #33039 by ced1870
"I suck at coding... "
>> lol

yes the Params will be easier but you can do without if you really want :)

as this is an intranet I suppose that you don't have any url ?
you shall use Firebug to inspect the element and find the CSS classes on the <li> element

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #33055 by adrian_vg

ced1870 wrote: "I suck at coding... "
>> lol

yes the Params will be easier but you can do without if you really want :)


Ok, thanks. I'll petition my boss.

Admitting you're bad at something is the first step towards getting better... B)

ced1870 wrote: as this is an intranet I suppose that you don't have any url ?
you shall use Firebug to inspect the element and find the CSS classes on the <li> element


Thanks for the hint.

The university network people block random access from the outside world to intranet sites like ours, so no external access. Sorry.

Used Firebug yesterday and was none the wiser.
I'll try this again. In Termintator terms; I'll be back.

--
//AvG

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago - 8 years 8 months ago #33056 by adrian_vg
Looking to buy the CK Params to simplify things (I hope), and saw the coupon code field.
Is that a discount?
How-where can I find the code? 8-D

Edit: Never mind. My biss will pay.

--
//AvG
Last edit: 8 years 8 months ago by adrian_vg.

Please Log in or Create an account to join the conversation.

Time to create page: 0.242 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 874 guests and no members online