MyBB Community Forums
[How To?] How do I make it so my navigation button turns red when I'm on that certain page? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] How do I make it so my navigation button turns red when I'm on that certain page? (/thread-211033.html)



How do I make it so my navigation button turns red when I'm on that certain page? - Greekin - 06-14-2017

Page in question: http://forums.roleplayresurgence.com/memberlist.php?action=staff

I'm using the Baze theme. In this theme for all the other pages, when you go there the navigation button turns red. I added the page Staff, and I'm not sure how to make it do this.

Any help would be appreciated.


RE: How do I make it so my navigation button turns red when I'm on that certain page? - Mipher - 06-14-2017

Open the Show Forum Team Templates >> showteam

Replace:

<body>

with (if you want that the Forum Button turns red):

<body id="forum">

with (if you want that the Memberlist Button turns red):

<body id="memberlist">



RE: How do I make it so my navigation button turns red when I'm on that certain page? - Greekin - 06-15-2017

Also, I'm using the staff page plugin. You're method didn't work for me, Mipher


RE: How do I make it so my navigation button turns red when I'm on that certain page? - Mipher - 06-15-2017

Oh, you're using a plugin. I didn't notice that.

I saw the plugin and in the Global Templates (Templates & Style > Templates > Global Templates) you should find the template staff_page. Open it and do the same thing that I told you in my previous post.


RE: How do I make it so my navigation button turns red when I'm on that certain page? - Greekin - 06-15-2017

Thanks it works Smile