How can i get the built-in template menu to function like:
http://modules.joomseller.com/joomla-modules/dropdown-mega-menu.html
If this can't happen, how can i place a module in place of the built-in template menu?
teitbite wrote:Hi
Actualy our template are using a scrip of this menu so it can be done exactly like it. Here You can find an documentation of it: https://www.gavick.com/documentation/jo ... work-menu/
teitbite wrote:Hi
Can You please show me a page You are working on. I need to see how You've made submenus to answer that.
teitbite wrote:Hi
You can get it with gkExtraMenu and some additional css. Unfortuantely I cannot tell exactly before I see this working on Your site and will be able to check the code used for it.
teitbite wrote:Hi
Ok. But this is a clear quickstart and I wanted to see how You have it after looking to the manual I gave You. If You want I can make You an example of a complexed submenu with 3columns and modules in it. If Yes please send me an access to joomla panel.
teitbite wrote:Hi
Please see a behavior of Templates option in menu. I've made it by only manipulating settings in menu item options. You can also select one of available module positions and show whatever You want in it. With this functionality You will have it fork like on the example You've shown me.
.gkMenu > ul div.childcontent {
left: 0 !important;
width: 100% !important;
}
teitbite wrote:Hi
A 100% width for submenu can be achived with this code:
- Code: Select all
.gkMenu > ul div.childcontent {
left: 0 !important;
width: 100% !important;
}
teitbite wrote:Hi
Any CSS modifications should be stored in override.css file. Please remember to enable using override in template settings.
.gkMenu > ul div.childcontent {
left: 0 !important;
width: 100% !important;
margin-left: -200px !important;
}
teitbite wrote:Hi
The appearing will be unnoticable when cache will be enabled.
Menu width is the point to start, but I think You can resize it with adding some margins to it:
- Code: Select all
.gkMenu > ul div.childcontent {
left: 0 !important;
width: 100% !important;
margin-left: -200px !important;
}
teitbite wrote:Hi
I've just published the module You have set. You forgot to attache it to menu items.
About visible submenu, I've meant that it will not be visible when cache wll be enabled not to clear cache. You should enable cache and compression when all work to the website will be finished.
.w200 {
width: 200px !important.
}
teitbite wrote:Hi
You can add a class with option: "Additional class" and set a width thanks to that.
For example You use a class " w200" and than add to css:
- Code: Select all
.w200 {
width: 200px !important.
}
teitbite wrote:Hi
For start I do not see a submenu in Your site. Can You please enable it and tell me under which menu option I can see it.
teitbite wrote:Hi
Ok. I'm blind I do not see Template option anywhere ;/ Need Your help to guide me to that.
li.resize-this .childcontent,
li.resize-this .childcontent .childcontent-inner-wrap,
li.resize-this .childcontent .childcontent-inner-wrap .childcontent-inner {
width: 1000px !important;
}
li.resize-this .childcontent .gkcol:nth-child(1) { width: 300px !important; }
li.resize-this .childcontent .gkcol:nth-child(2) { width: 200px !important; }
li.resize-this .childcontent .gkcol:nth-child(3) { width: 300px !important; }
li.resize-this .childcontent .gkcol:nth-child(4) { width: 200px !important; }
li.resize-this .childcontent .gkcol:nth-child(5) { width: 300px !important; }
teitbite wrote:Hi
Och, I'm really sorry I have thought this was Your site. Anyway I can see now that it's working differently than I remember, but there is also a solution for a way it's now.
1. Add a class to a top menu element, for example "resize-this"
2. Add this code to css:
- Code: Select all
li.resize-this .childcontent,
li.resize-this .childcontent .childcontent-inner-wrap,
li.resize-this .childcontent .childcontent-inner-wrap .childcontent-inner {
width: 1000px !important;
}
to resize whole submenu box.
3. This code in css will resize subcolumns:
- Code: Select all
li.resize-this .childcontent .gkcol:nth-child(1) { width: 300px !important; }
li.resize-this .childcontent .gkcol:nth-child(2) { width: 200px !important; }
li.resize-this .childcontent .gkcol:nth-child(3) { width: 300px !important; }
li.resize-this .childcontent .gkcol:nth-child(4) { width: 200px !important; }
li.resize-this .childcontent .gkcol:nth-child(5) { width: 300px !important; }
To set the size of each column. A number in (n) indicates which columns should it resize.
.gkMenu > ul > li:hover div.childcontent {
z-index: 1000;
}
teitbite wrote:Hi
I think You are lacking a code like this to make submenu display over everything else:
- Code: Select all
.gkMenu > ul > li:hover div.childcontent {
z-index: 1000;
}
teitbite wrote:Hi
I do not see this class in override.css file. Please send me an ftp access to Your site. I'll make it for You.
.gkMenu > ul div.childcontent {
display: none;
opacity: 1 !important;
height: auto !important;
}
.gkMenu > ul > li:hover div.childcontent {
display: block;
}
teitbite wrote:Hi
Done with this code:
- Code: Select all
.gkMenu > ul div.childcontent {
display: none;
opacity: 1 !important;
height: auto !important;
}
.gkMenu > ul > li:hover div.childcontent {
display: block;
}
.gkMenu > ul div.childcontent {
display: none;
opacity: 1 !important;
height: auto !important;
overflow: visible !important;
}
.gkMenu > ul > li:hover div.childcontent {
display: block;
}