-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CSS fix for vertical layout long titles #1
Comments
Hello David, thank you very much for your positive feedback. I also very much appreciate your review on JED! I have already worked on your proposals to add line-height and padding to the configuration; also for the sub-menus. It was not so difficult and works very fine in my own Joomla installation. I attached a test version of the module with the additional configuration. If you have some time, I would be happy if you could test it and provide some feedback. If it works, I will publish it as a new release soon. |
Thanks for adding line-height and padding to the configuration. I have tested your revision on J4.4.1 with PHP 8.1 and it works very well. I will be testing it on J5 and PHP 8.2 in the near future. I will let you know if I find any problems. |
Thank you for testing and the positive feedback. I will publish the changes in a new release. |
Completed with e551cd4 |
Thank you for updating this terrific extension! There is one problem which is easily fixed. On the vertical layout, menu items with long titles that take up two lines have line-height set for 1 by default. This is hard to read. As a quick fix, one can add this to the end of your template custom CSS file:
.ux-menu.ux-menu-vertical a {line-height: 1.2 !important;}
Alternately, you can add this CSS to the end of:
install/mod_ariextmenu/js/css/menu.min.css
However, a better solution would be to add Line Height and padding to the list of options – at least for the vertical layout – which would allow users to easily set the line height and padding to whatever works best for their website.
The text was updated successfully, but these errors were encountered: