Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Templates > Can't change font color in horizontal menu
Total Posts: 5 - Pages (1): [1]
Author: mike24
Posted: Jun 10 2007 - 11:00 AM
Subject: re: Can't change font color in horizontal menu
hi greg,
thanks for your help, now it work perfectly and my customer is happy
greetz
mike
Author: mediatech
Posted: May 26 2007 - 09:40 PM
Subject: re: re: Can't change font color in horizontal menu
mike24 wrote:
Hi Gregory,

The hover font color is working now. But there is another problem with the "active"-state font color (which is white):
Mike


I tried to change the ".active" css attribut, but it doesn't work:

.active { /* first level menu active state style */
background-color: #ddd;
color: #000000;
}


Yes! I forgot to include this.

.active a { /* first level menu active state style */
background-color: #ddd;
color: #333;
}


Zen Wireframe is ready for relesae ... thanks for your help

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: mike24
Posted: May 26 2007 - 04:30 PM
Subject: re: Can't change font color in horizontal menu
Hi Gregory,

Thank you for your answer !
I have downloaded your new .css-file and also made the changes (wrapItemAndSub = <li class="active"> | </li>) in the template TS. The hover font color is working now. But there is another problem with the "active"-state font color (which is white):



I tried to change the ".active" css attribut, but it doesn't work:

.active { /* first level menu active state style */
background-color: #ddd;
color: #000000;
}


Is there any other way I can try?

Mike
Author: mediatech
Posted: May 26 2007 - 02:52 PM
Subject: re: Can't change font color in horizontal menu
Hi Mike,

Try this:
.menu li:hover>a { /* first level menu style (no IE6) */
background-color: #ddd;
color: #333;
}

Here's an update to the CSS used for Zen Light Pro with additional comments. I'll be releasing the full package sometime next week.

http://zwire.mediatech.net/fileadmin/templates/zwire/css/menu.css

Also please note there is a minor bug fix which I need to announce on the mailing list soon. In your template TS make sure you correct the following in Red.

# Top horizontal dropdown menu
#######################################
subparts.TOPNAV = HMENU
subparts.TOPNAV.special = directory
subparts.TOPNAV.special.value = 1
#subparts.TOPNAV.excludeUidList = 1,2,3
subparts.TOPNAV {
wrap = <div id="nav"> | </div>
entryLevel = 0
1 = TMENU
1 {
expAll=1
noBlur = 1
wrap = <ul class="adxm menu"> | </ul>
NO {
wrapItemAndSub = <li> | </li>
#wrapItemAndSub = <li class="hover2"> | </li>
}
ACT = 1
ACT {
noBlur = 1
wrapItemAndSub = <li class="active"> | </li>


Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: mike24
Posted: May 25 2007 - 05:48 PM
Subject: Can't change font color in horizontal menu
I have a very little problem with the horizontal menu on top. I have changed the hover color from blue to white. The standard color of the "active" (css active link state) is also white, so the menu entries disappeared, example:



I tried to change this font color to black, but I can't figure out what to change in menu.css. Nothing seems to work Can someone help point me in the right direction?

Many Thanks & sorry for my bad english
Mike
Total Posts: 5 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support