Close

Content before widget zone become useless

fun123
9 years ago
#7448 Quote
Avatar
  • 19
So, first time im having problem like this, but actually i have to use content before widget zone, and i cant, because megamenu is between master wrapper and content before zone. How can i solve this, you in your code hide header menu, and instead of using its div, you place another one that is not even in the header menu div, which makes megamenu under content before zone...
Deni
9 years ago
#7450 Quote
Avatar
  • Moderator
  • 389
fun123 wrote:
So, first time im having problem like this, but actually i have to use content before widget zone, and i cant, because megamenu is between master wrapper and content before zone. How can i solve this, you in your code hide header menu, and instead of using its div, you place another one that is not even in the header menu div, which makes megamenu under content before zone...


Hello,

There is no straightforward way to use the header menu div (on themes that are not ours). In our themes we replace the default menu with ours.
As you can see in the SupportedWidgetZones.xml file in the MegaMenu plug-in, the widget zone in which we place the MegaMenu in other themes is content_before. You can change this widget zone to whatever you want or you can create a new widget zone right after content_before and use it for the MegaMenu. Feel free to place the MegaMenu wherever you want.

Regards!
Best Regards,
Mladen Staykov
Nop-Templates.com
fun123
9 years ago
#7452 Quote
Avatar
  • 19
Deni wrote:
So, first time im having problem like this, but actually i have to use content before widget zone, and i cant, because megamenu is between master wrapper and content before zone. How can i solve this, you in your code hide header menu, and instead of using its div, you place another one that is not even in the header menu div, which makes megamenu under content before zone...

Hello,

There is no straightforward way to use the header menu div (on themes that are not ours). In our themes we replace the default menu with ours.
As you can see in the SupportedWidgetZones.xml file in the MegaMenu plug-in, the widget zone in which we place the MegaMenu in other themes is content_before. You can change this widget zone to whatever you want or you can create a new widget zone right after content_before and use it for the MegaMenu. Feel free to place the MegaMenu wherever you want.

Regards!


Okay, thanks... i already created new widget zone to use, i was just wondering why didnt you use some other zone, thanks for answer anyway