Dropmenu display wrong?

More
8 years 9 months ago - 8 years 9 months ago #46789 by hoanggo
Replied by hoanggo on topic Dropmenu display wrong?
Code:
<div class="clr"></div>
i think this code make space. i inspect in chrome browser and delete this element and it show fine.
i find this code was made by helper.php
Code:
// for maximenu imbricated, use another css class $special_subclass = ($modulesList[$moduleid]->module == 'mod_maximenuck') ? '2' : ''; $item->content = '<div class="maximenuck_mod' . $special_subclass . '">' . $modules[$moduleid] . '<div class="clr"></div></div>'; } elseif (preg_match('/\[modid=([0-9]+)\]/', $item->ftitle, $resultat)) { // for maximenu imbricated, use another css class $special_subclass = ($modulesList[$resultat[1]]->module == 'mod_maximenuck') ? '2' : ''; $item->ftitle = preg_replace('/\[modid=[0-9]+\]/', '', $item->ftitle); $item->content = '<div class="maximenuck_mod' . $special_subclass . '">' . modmaximenuckHelper::GenModuleById($resultat[1], $params, $modulesList, $style, $item->level) . '<div class="clr"></div></div>'; }
so i delete
Code:
'<div class="clr"></div>
in helper.php but this code still show in my site.
how can i delete this code?
Last edit: 8 years 9 months ago by hoanggo.

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

More
8 years 9 months ago #46790 by ced1870
Replied by ced1870 on topic Dropmenu display wrong?
ok, then you have a CSS conflict with another extension that adds some css on this
you shall force it using
Code:
.maximenuck .clr { ... css code to remove height here ... }

Joomlack Webmaster and Developer
The following user(s) said Thank You: hoanggo

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

More
8 years 9 months ago #46792 by hoanggo
Replied by hoanggo on topic Dropmenu display wrong?
Dear sir,
i find out css of mod_evo_frontpage have this code:
Code:
div.clr { clear:none !important; height: 30px !important; }
i remove this code and it worked fine.:woohoo:
Many module you make so useful. :cheer:
Thank you so much.

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

More
8 years 9 months ago #46793 by ced1870
Replied by ced1870 on topic Dropmenu display wrong?
great ! :)

Joomlack Webmaster and Developer
The following user(s) said Thank You: hoanggo

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

Time to create page: 0.194 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 6445 guests and no members online