Kunena Menu
Vertical menu with image, title and description ?
10 years 3 months ago #36394
by rbuelund
Replied by rbuelund on topic Vertical menu with image, title and description ?
Now I have encountered another problem. The description text does not word-wrap! See attached image. That is a big problem as I need to be able to write long descriptions.
Please Log in or Create an account to join the conversation.
10 years 3 months ago #36417
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Vertical menu with image, title and description ?
I can not check this on your website as it is offline ...
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
10 years 3 months ago #36421
by rbuelund
Replied by rbuelund on topic Vertical menu with image, title and description ?
It is online now
Please Log in or Create an account to join the conversation.
10 years 3 months ago #36424
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Vertical menu with image, title and description ?
you must set
then add some css to set the width for the elements
what you are asking here needs some custom css, because even if you think that this is a "standard" behavior, it is not. You are aligning multiple elements here (image, title, desc)
Code:
div#maximenuck91 ul.maximenuck li.maximenuck.level1 > a, div#maximenuck91 ul.maximenuck li.maximenuck.level1 > span.separator {
white-space: normal;
}
what you are asking here needs some custom css, because even if you think that this is a "standard" behavior, it is not. You are aligning multiple elements here (image, title, desc)
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
10 years 3 months ago #36458
by rbuelund
Replied by rbuelund on topic Vertical menu with image, title and description ?
It does not seem to help. I have added a width of 300px to span.titreck and span.descck, when screen resolution is under 940 px - but the text stills runs over the border ??
Please Log in or Create an account to join the conversation.
10 years 3 months ago #36476
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Vertical menu with image, title and description ?
ok, so after thinking more relatively on your need, I think that what you are trying to do is not the correct way.
I explain, the menu layout and css are created to be used to adapt to a lot of situations but of course can not do exactly what you want in one click in any situation
The best here in my mind (if you want to keep the menu management and don't want to create your lines in your article), is to create a layout override of the module. here you could put a simplified layout with only the HTML required for you and put your few CSS rules in the template (or a custom maximenu theme). This would be something that allow you to control exactly how it renders
I explain, the menu layout and css are created to be used to adapt to a lot of situations but of course can not do exactly what you want in one click in any situation
The best here in my mind (if you want to keep the menu management and don't want to create your lines in your article), is to create a layout override of the module. here you could put a simplified layout with only the HTML required for you and put your few CSS rules in the template (or a custom maximenu theme). This would be something that allow you to control exactly how it renders
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.198 seconds



