-
AuthorPosts
-
April 24, 2011 at 7:59 pm #163174
I have made descriptions for my menu items in my mega menu.
But the description is displayed like this
“Se Vores Produkter”
and should look like:
“Se vores produkter”I cant find any text-transform on that. Where do i change it?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 25, 2011 at 2:01 am #387889Hi,
– Replace this code from <joomla url>templatesja_mesolite_iilibsmenubase.class.php file
$txt .= '<span class="menu-desc">'. $tmp->megaparams->get('desc').'</span>';
with
$txt .= '<span class="menu-desc">'. ucfirst($tmp->megaparams->get('desc')).'</span>';
– Find this code from <joomla url>/templates/ja_mesolite_ii/css/menu/mega.css file
ul.level0 li.mega span.menu-desc {
display: block;
font-weight: normal;
text-transform: capitalize; <--remove this line
}April 25, 2011 at 4:43 pm #388080I have replaced the first code.
But i dont have that level0 code in my mega.css
ul.level0 li.mega span.menu-desc {
display: block;
font-weight: normal;
text-transform: capitalize; <--remove this line
}I use mesolite II version 1.1.3
April 26, 2011 at 7:13 pm #388399Anyone who can help with this?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
April 26, 2011 at 7:41 pm #388402I’ve just downloaded a fresh copy of Messolite_II and that line of code is there in templates>ja_messolite_ii>css>menu>mega.css at line 64-line 68.
If you cannot find it download a fresh copy of the templae, unzip it on your desktop and replace the aformentioned file on your server (make backups first).
April 26, 2011 at 8:22 pm #388407Hmm this is strange.
The mega.css file i have installed has this:
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.The mega.css i tried from a fresh instal has this:
#Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.So the fresh template file looks like it is older than my file in the site. I installed the temlate about a week ago.
The fresh mega.css looks ugly as well, compared to the one from my current.Anyway. I tried to remove the line, but that didnt have any effect.
Just to specify that it is only the first letter in each word, that is capitilzed.
E.g. Not Like This = But like this.Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
April 26, 2011 at 10:16 pm #388420Please post a link to your site so we can take a look.
April 26, 2011 at 10:51 pm #388424I have updatet the post with super admin.
I have uploaded the mega.css file from the fresh template download (old version). And the working mega.css is the one i installed with the template about a week ago.
You can change the two files around for testen purpose, to see what i mean with ugly. The working one fits the layout og the template and the fresh mega.css dont.
tekstlogo.dk
Another thing is, that i dont recieve email notifications from this forum.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
April 26, 2011 at 11:06 pm #388426Try opening templates>ja_zeolite_ii>css>template.css and around line 1054 remove the bit in red below.
span.menu-desc {
color: #999999;
display: block;
font-size: 85%;
font-weight: normal;
text-transform: capitalize;}
1 user says Thank You to Phill for this useful post
-
AuthorPosts
This topic contains 10 replies, has 3 voices, and was last updated by tekstlogo 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum