because I also hate template edits but don't particularly like executing PHP purely for removing tabs, I recommend adding this to EXTRA.css:Because i hate template edits (because of missing automatic template edit merging on xf upgrades) i would suggest to use the event system for this.
edit:
see next post
li.navTab.members, li.navTab.help{
display: none;
}
Because i hate template edits (because of missing automatic template edit merging on xf upgrades) i would suggest to use the event system for this.
edit:
see next post
because I also hate template edits but don't particularly like executing PHP purely for removing tabs, I recommend adding this to EXTRA.css:
Code:li.navTab.members, li.navTab.help{ display: none; }
because I also hate template edits but don't particularly like executing PHP purely for removing tabs, I recommend adding this to EXTRA.css:
Code:li.navTab.members, li.navTab.help{ display: none; }
remove members and help tab zipragtek said:
because I also hate template edits but don't particularly like executing PHP purely for removing tabs, I recommend adding this to EXTRA.css:
Code:li.navTab.members, li.navTab.help{ display: none; }
Create a new class called display or whatever, add the display: none and then make a template edit in the nav and only apply the class to unregistered.Elegant.
Is it possible to make this conditional on logged in members so they see it but not unreg/ not logged in
- I dont think I can put a conditional in EXTRA.css can I?
Thanks James .. maybe I'm lacking sleep but I'll need a bit of translation.Create a new class called display or whatever, add the display: none and then make a template edit in the nav and only apply the class to unregistered.
Here is a simple explanation.Thanks James .. maybe I'm lacking sleep but I'll need a bit of translation.
Create a class?
Is there anyway to remove these from the nav bar while still keeping the list items? I will still be using the pages, just not on my top navigation bar.
View attachment 43150
View attachment 43151
because I also hate template edits but don't particularly like executing PHP purely for removing tabs, I recommend adding this to EXTRA.css:
Code:li.navTab.members, li.navTab.help{ display: none; }
not work for XenForo 1.2.5
li.navTab.members, li.navTab.help{
display: none !important;
}
Hi,It should. Try using !important.
Code:li.navTab.members, li.navTab.help{ display: none !important; }
<li class="navTab PopupClosed"><a href="study_buddy/" class="navLink">Study Buddy</a></li>
We use essential cookies to make this site work, and optional cookies to enhance your experience.