Nav Class

16 views
Skip to first unread message

TMurNGon

unread,
May 3, 2020, 5:27:40 AM5/3/20
to BoltWire
Hi Dan,

In order to make the menu item of the currently active page stand out my stylesheet uses an 'active' class on the link.
Any suggestions on how I can get Boltwire to inject the 'active' class into the appropriate link?

Thanks.
Jan

Dan Vis

unread,
May 3, 2020, 7:52:40 PM5/3/20
to BoltWire
You should be able to do:

[[some.page|Page Title|class=active]]

If that doesn't work, let me know.

Blessings,
Dan

Climb higher in your walk with God...


--
You received this message because you are subscribed to the Google Groups "BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/boltwire/3495d3a9-5ab7-4052-a7f1-a9152d8c6db5%40googlegroups.com.

TMurNGon

unread,
May 4, 2020, 3:15:35 AM5/4/20
to BoltWire
Thanks Dan. That works nicely.


On Monday, 4 May 2020 01:52:40 UTC+2, Dan wrote:
You should be able to do:

[[some.page|Page Title|class=active]]

If that doesn't work, let me know.

Blessings,
Dan

Climb higher in your walk with God...


On Sun, May 3, 2020 at 4:27 AM TMurNGon <tmur...@gmail.com> wrote:
Hi Dan,

In order to make the menu item of the currently active page stand out my stylesheet uses an 'active' class on the link.
Any suggestions on how I can get Boltwire to inject the 'active' class into the appropriate link?

Thanks.
Jan

--
You received this message because you are subscribed to the Google Groups "BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bolt...@googlegroups.com.

TMurNGon

unread,
May 4, 2020, 3:17:29 AM5/4/20
to BoltWire
However....

For my use case I need the menu to determine the 'active' class dynamically - based on whether or not the current page corresponds to the menu item.
Any hints?


On Monday, 4 May 2020 01:52:40 UTC+2, Dan wrote:
You should be able to do:

[[some.page|Page Title|class=active]]

If that doesn't work, let me know.

Blessings,
Dan

Climb higher in your walk with God...


On Sun, May 3, 2020 at 4:27 AM TMurNGon <tmur...@gmail.com> wrote:
Hi Dan,

In order to make the menu item of the currently active page stand out my stylesheet uses an 'active' class on the link.
Any suggestions on how I can get Boltwire to inject the 'active' class into the appropriate link?

Thanks.
Jan

--
You received this message because you are subscribed to the Google Groups "BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bolt...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages