-
AuthorPosts
-
ebajh69 Friend
ebajh69
- Join date:
- December 2005
- Posts:
- 36
- Downloads:
- 6
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 4 times in 2 posts
March 2, 2008 at 3:50 am #126181Some of my titles for menu itmes are a little long and they are being displayed as 2 lines as opposed to a single line. This becomes a bit confusing to view. Is there a way to fix this?
Template: JA Hedera
Joomla: 1.5.1
Site: http://69.89.19.31/lcs1
1034
In the attached jpg you can see 5 different menu items under Online Courses. In reality there are only 3. The first 2 have titles that seem to be to long to display on a single line and as a result are being displayed on 2 lines. Is there any way to adjust the number of characters per line? :confused:Thanks,
Evan
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
March 3, 2008 at 8:14 pm #241145Bit strange this, if it is the length of characters, as Child Abuse Prevention has more letters than Blood Borne Pathogens but Blood Borne Pathogens takes up slightly more space, could you make Blood Borne one word or take the s off Pathogens to see if this changes anything?
Which menu type are you using?
Have you thought of trying split menu or dropline?ebajh69 Friendebajh69
- Join date:
- December 2005
- Posts:
- 36
- Downloads:
- 6
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 4 times in 2 posts
March 4, 2008 at 5:51 am #241178If I take off the S from Pathogens it fits on a single line.
The problem only seems to exist on the “moo” menu type. The other 2 menu types (split and dropline) display fine. I like the moo menu type better. Any suggestions on fixing the display for the moo menu type?
Thanks for the speedy respone 🙂
Evan
geoaspro Friendgeoaspro
- Join date:
- March 2006
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
April 23, 2008 at 11:33 am #246539I have the same problem. Is there a way to automatically adjust the line width?
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
May 24, 2008 at 9:55 am #250413With css/moo menu, the line width cannot automatically adjust.
In this case, you have 2 options:
1. Adjust your menu item to have a shorter text. It is very easy for you.
2. Increase the width of sub menu. You could open css file templates/ja_hedera/ja_menus/ja_cssmenu/ja-sosdmenu.css, and increase width of some style as follow:
#ja-cssmenu li ul {
width: 16.4em;
position: absolute; /* second-level lists */
z-index: 99;
left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
height: auto;
width: 15.9em;
}#ja-cssmenu li li {
padding: 0 1em 0 0;
margin: 0;
width: 14.9em;
}#ja-cssmenu ul a {
width: 14.8em;
width: 10.8em; /*Increase this one first*/
}
ebajh69 Friendebajh69
- Join date:
- December 2005
- Posts:
- 36
- Downloads:
- 6
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 4 times in 2 posts
May 25, 2008 at 2:48 pm #250488In this case, you have 2 options:
1. Adjust your menu item to have a shorter text. It is very easy for you.I can’t make it shorter. I need to give a description.
2. Increase the width of sub menu. You could open css file templates/ja_hedera/ja_menus/ja_cssmenu/ja-sosdmenu.css, and increase width of some style as follow:
I increased the width, but it only changes the width of the submenu when it is highlighted and the text is still wrapped.
You can see it at http://69.89.19.31/lcs1/.
Thanks,
Evan
friends1976 Friendfriends1976
- Join date:
- April 2008
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
September 14, 2008 at 1:41 am #270372<em>@ebajh69 55171 wrote:</em><blockquote>In this case, you have 2 options:
1. Adjust your menu item to have a shorter text. It is very easy for you.I can’t make it shorter. I need to give a description.
2. Increase the width of sub menu. You could open css file templates/ja_hedera/ja_menus/ja_cssmenu/ja-sosdmenu.css, and increase width of some style as follow:
I increased the width, but it only changes the width of the submenu when it is highlighted and the text is still wrapped.
You can see it at http://69.89.19.31/lcs1/.
Thanks,
Evan</blockquote>
These are the settings I used….
<blockquote>
#ja-cssmenu li ul {
width: 16.4em;
position: absolute; /* second-level lists */
z-index: 99;
left: -999em; /* using left instead of display to hide menus because display: none isn’t read by screen readers */
height: auto;
width: 26.8em; /*Makes Grey Hover Width Change*/
}#ja-cssmenu li ul ul {
margin: -1.9em 0 0 15.5em; /* third-and-above-level lists */
}#ja-cssmenu li li {
padding: 0 1em 0 0;
margin: 0;
width: 25.9em; /*Adjusts the width of the Home Sublinks when hovered over*/
}#ja-cssmenu ul a {
width: 14.8em;
width: 24.8em; /*Makes Grey Hover Width Change*/
}</blockquote>
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 5 voices, and was last updated by friends1976 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Title for Menu Item is wrapping to 2nd line
Viewing 7 posts - 1 through 7 (of 7 total)