Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-06-15 20:26:50

pierlu
Member
Registered: 2014-08-12
Posts: 153

adi_menu

Utilizzando il plugin adi_menu come si fa a far si cambi colore la pagina attiva del menu?

Offline

#2 2015-06-15 22:50:18

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: adi_menu

For your convenience I think you should make an effort and use English: for your searches and for your questions too.

Back to your question, I guess you have to specify it inside your stylesheet:

active_class attribute

Look here.

Last edited by candyman (2015-06-15 22:50:39)

Offline

#3 2015-06-16 12:19:42

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: adi_menu

ho messo cosi:
<div class=“menu”>
<txp:adi_menu active_class=“active” />
</div> <!—menu—>

css
.menu li a:active_class
{
color: red;
}

Offline

#4 2015-06-16 12:42:40

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: adi_menu

pierlu wrote:

<txp:adi_menu active_class=“active” />

What is the name of the active class?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2015-06-16 19:04:47

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: adi_menu

Il nome della classe è “active”

Offline

#6 2015-06-16 19:19:36

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: adi_menu

That’s not what it says in the style sheet ;)

Offline

#7 2015-06-17 00:16:38

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu

Thanks candyman, uli & ruud.

I only just stumbled across this now, but I’ll keep an eye on it.

pierlu – please post issues about plugins in their support threads, otherwise the plugin authors won’t get notified about them. adi_menu’s thread is here.

Cheers,

Adi

Offline

Board footer

Powered by FluxBB