Support Online: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file Subtitles / no subtitles

More
5 years 11 months ago - 5 years 11 months ago #24027 by Marc-Evence VILLATTE
Hello,

I have a menu in which one item has a subtitle, but not the others. When I add it, the concerned submenu's line height grows and shows the subtitle as it should, but every other items in the columns also also have a bigger line height. --> Every item has a subtitle line, but "empty".

As a result, my menu size stricly doubles whereas I only added one subtitle.

How can I get the line height bigger ONLY for the submenu item that has a subtitle, so the others stay as they were before ?

Thx !
Last edit: 5 years 11 months ago by Marc-Evence VILLATTE.

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

More
5 years 11 months ago #24038 by HaiND
Replied by HaiND on topic Subtitles / no subtitles
HI Marc-Evence VILLATTE
Thank you for feedback us
This is irrational because the menu will determine the height according to the menu item of the highest height
but if you want I will still be able to customize for you, it will take time but if you need it I will try it for you
Please send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

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

More
5 years 11 months ago #24070 by Marc-Evence VILLATTE
Hello,

thanks for your answer ; I just sent you the informations and an example via E-Mail.

Have a nice day.

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

More
5 years 11 months ago #24113 by Marc-Evence VILLATTE
Could you help me please.

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

More
5 years 11 months ago - 5 years 11 months ago #24139 by HaiND
Replied by HaiND on topic Subtitles / no subtitles
Hi again
in back-end modules -> tab Advanced -> custom CSS
I add code fix it for you
Please check again

Best Regards
--HaiND--
Last edit: 5 years 11 months ago by HaiND.

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

More
5 years 11 months ago #24166 by Marc-Evence VILLATTE
Thank you, solved this one. When I add another subtitle, the problem remains.

I have 80 subtitles to add, then my client will do it by himself. That's why I chose Jux (before I used IceMegaMenu to get this feature).

How can I do without manually fixing it each time I want to add one ?

thx

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

More
5 years 11 months ago #24170 by HaiND
Replied by HaiND on topic Subtitles / no subtitles
Hi again
I custom it for you
in file: ..\modules\mod_jux_megamenu\helper.php at line 394 to line 396

if ($tmp->megaparams->get('desc')) {
$txt .= '<span class="menu-desc">'. JText::_($tmp->megaparams->get('desc')).'</span>';
}

edit:

if ( is_string($tmp->megaparams->get('desc'))){
if( $tmp->megaparams->get('desc') != '&nbsp;'){
$txt .= '<span class="menu-desc">'. JText::_($tmp->megaparams->get('desc')).'</span>';
}
}

Hope it will help you
Thanks

Best Regards
--HaiND--

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

Moderators: Jackie
Time to create page: 0.047 seconds
Powered by Kunena Forum