1. joomlagal
  2. Commercial Templates
  3. Monday, 16 November 2015
  4.  Subscribe via email
I am working with your BOSS template at the moment.

I am developing a new website for a client who has quite a few long menu titles that they don't want to shorten up. Example: Research and Development.

I have worked with other templates that allowed me to break long titles into 2 lines. I normally just add 2 || between the words I want to separate but this doesn't seem to work with this template.

Is there some coding I could try to add to this template's mod_menu - default_component.php to get this to work?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

One option would be to add the following to the Custom CSS field of your templates parameters which will set a max width to your menu items. Item titles that exceed this width will then wrap to a second line. You can edit the max width to your own taste to best suit your menu items.


#hornav > ul > li {
line-height: 20px;
max-width: 100px;
}


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.