Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[meilleure solution] BUG Menu Contact: classe css active non appliquée #15

Merged
merged 1 commit into from
Jan 31, 2017
Merged

Conversation

freepius
Copy link
Contributor

La classe .active doit-être appliquée sur le <li> et non sur le <a> (ou à la limite, sur les deux).

Dans le fichier themes/defaut/header.php (ligne 34) de PluXml, voici comment sont construites les autres «entrées statiques» du menu :

<?php $plxShow->staticList($plxShow->getLang('HOME'),'<li class="#static_status" id="#static_id"><a href="#static_url" title="#static_name">#static_name</a></li>'); ?>

Ainsi, plus besoin de dupliquer le code CSS suivant :

menu.expanded li a.active {
    background-color: #258fd6;
    color: #fff;
}

@ghost
Copy link

ghost commented Mar 11, 2016

Merci.

@Pluxopolis Pluxopolis merged commit 9ed012f into Pluxopolis:master Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants