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!