change text color
i am trying to change the color of the menu links when passive..
and the color of the links when active..
i allready managed to change the color when hovering to white
Can anybody point me in the right direction
i am working in maximenuH_CK.php\
site: www.trophydesign.nl
the menu is right in the top
thanks!
and the color of the links when active..
i allready managed to change the color when hovering to white
Can anybody point me in the right direction
i am working in maximenuH_CK.php\
site: www.trophydesign.nl
the menu is right in the top
thanks!
by bougies
Please Log in or Create an account to join the conversation.
you can use the class 'active' to identify the current elements like you did for ':hover'
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
This are the lines .. can someone tell me what i must change if i want to change the color of the menu links when passive..
and the color of the links when active..
Sorry I am just starting to learn php so not mutch php knowledge .
Thanks.
** active items
**/
/* current item title and description */
div#<?php echo $id; ?> ul.maximenuCK li.current>a span {
color : #ccc;
}
/* current item title when mouseover */
div#<?php echo $id; ?> ul.maximenuCK li.current>a:hover span.titreCK {
}
/* current item description when mouseover */
div#<?php echo $id; ?> ul.maximenuCK li.current>a:hover span.descCK {
}
/* active parent title */
div#<?php echo $id; ?> ul.maximenuCK li.active>a span.titreCK {
color : #ccc;
}
/* active parent description */
div#<?php echo $id; ?> ul.maximenuCK li.active>a span.descCK {
}
and the color of the links when active..
Sorry I am just starting to learn php so not mutch php knowledge .
Thanks.
** active items
**/
/* current item title and description */
div#<?php echo $id; ?> ul.maximenuCK li.current>a span {
color : #ccc;
}
/* current item title when mouseover */
div#<?php echo $id; ?> ul.maximenuCK li.current>a:hover span.titreCK {
}
/* current item description when mouseover */
div#<?php echo $id; ?> ul.maximenuCK li.current>a:hover span.descCK {
}
/* active parent title */
div#<?php echo $id; ?> ul.maximenuCK li.active>a span.titreCK {
color : #ccc;
}
/* active parent description */
div#<?php echo $id; ?> ul.maximenuCK li.active>a span.descCK {
}
by bougies
Please Log in or Create an account to join the conversation.
it is not php code but CSS (in a php file)
/* normal color */
div#<?php echo $id; ?> ul.maximenuCK li a span.titreCK {
color : #ccc;
}
/* active color */
div#<?php echo $id; ?> ul.maximenuCK li.active a span.titreCK {
color : #ccc;
}
/* normal color */
div#<?php echo $id; ?> ul.maximenuCK li a span.titreCK {
color : #ccc;
}
/* active color */
div#<?php echo $id; ?> ul.maximenuCK li.active a span.titreCK {
color : #ccc;
}
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.671 seconds