donner une classe .active ?

More
13 years 2 weeks ago #2566 by bagou01
Bonjour,
dans un soucis d'ergonomie je souhaiterais que mon menu actif soit gras pour le séparer du reste des menus.
cependant quand je rajoute ceci au style css:
Code:
<?php echo $id; ?> li.active a { margin: 0; color: #999; text-align: left; display: block; padding-bottom: 9px; padding-left: 10px; padding-right: 4px; padding-top: 7px; text-decoration: none; font-weight:bold }
c'est tout mon sous menu qui prend ce style et non la classe active... je suis un peu perdu...

Please Log in or Create an account to join the conversation.

More
13 years 2 weeks ago #2567 by ced1870
salut
et avec ça ?
Code:
<?php echo $id; ?> li.active > a {

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
13 years 2 weeks ago #2568 by bagou01
ptin jamais vu une réactivité pareille, t'es au taquet ! :woohoo:
n'empèche... ça marche... :blush:
merci !

Please Log in or Create an account to join the conversation.

More
13 years 2 weeks ago #2569 by ced1870
tu me poses une question, j'y réponds :)
j'étais juste sur le forum, voila tout...

Joomlack Webmaster and Developer
The following user(s) said Thank You: bagou01

Please Log in or Create an account to join the conversation.

More
13 years 2 weeks ago #2570 by bagou01
et je t'en remercie !

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1315 guests and no members online