I'd like to remove the dropdown menu's from a couple of the navbar tabs. I'm pretty sure it's done in the navigation template, but I'm not sure how to do it.
Thanks!
It would help if you mentioned what links would you like to remove.
Does this resource not help? You will have to find the associated navigation areas (and templates for the add-on) and would probably have to comment out the drop-down section (the split ctrl?).Anyone? I know this can't be difficult.
<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
<xen:comment><a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a></xen:comment>
Does this resource not help? You will have to find the associated navigation areas (and templates for the add-on) and would probably have to comment out the drop-down section (the split ctrl?).
I'll play with it and see if I can figure it out for the main menus... but the add-on is not one I have so I would not be any help there.
Check out https://sayapple.com and see if that is what you are referring to. I'm not going to leave it that way for long but at least you can take a look at it and see. I didn't mess with my forum one as it's set up different with an add-on but the main ones are the blogs, the wallapers, members, etc.
If that is what you are referring to, in the navigation template you will need to find the appropriate
and change toCode:<a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a> <div class="tabArrow"> <span class="arrow"><span></span></span> </div>
Code:<xen:comment><a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a> <div class="tabArrow"> <span class="arrow"><span></span></span> </div></xen:comment>
Throwing Nodes As Tabs may not work with the above - as that is not an add-on that I use.
Yeah, I didnt' think about that... but the SplitCtrl should still apply... That was a direct pull from my active style on that site. I'm not going to kick a default style as available for display just to demo it as a possible solution. I would assume that if that section wasn't in there he'd come back and ask."tabArrow" is not a default XenForo class just so you know
That was added for styling in pixelexit styles long ago.
.navTab.members .SplitCtrl
{
display: none;
}
I was hoping you'd show up!Admin CP -> Appearance -> Templates -> EXTRA.css
Rich (BB code):.navTab.members .SplitCtrl { display: none; }
Just specify the tabid which can be seen in the html source.
Anyone? I know this can't be difficult.
Does this resource not help? You will have to find the associated navigation areas (and templates for the add-on) and would probably have to comment out the drop-down section (the split ctrl?).
I'll play with it and see if I can figure it out for the main menus... but the add-on is not one I have so I would not be any help there.
Check out https://sayapple.com and see if that is what you are referring to. I'm not going to leave it that way for long but at least you can take a look at it and see. I didn't mess with my forum one as it's set up different with an add-on but the main ones are the blogs, the wallapers, members, etc.
If that is what you are referring to, in the navigation template you will need to find the appropriate
and change toCode:<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
Code:<xen:comment><a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a></xen:comment>
Throwing Nodes As Tabs may not work with the above - as that is not an add-on that I use.
Admin CP -> Appearance -> Templates -> EXTRA.css
Rich (BB code):.navTab.members .SplitCtrl { display: none; }
Just specify the tabid which can be seen in the html source.
I hope you won''t mind me saying the following but here it goes. Why do not you set up a test forum and try things out there till you achieve the desired result, rather than waiting around for others to help you. Like that you learn as well and like that saying goes: "Give man a fish and he will eat one day. Teach him how to fish and he will never go hungry." Or something along those lines, but you get my point.
Thank you! That resource didn't help, but the commenting of that line worked perfectly! Along with this by @Jake Bunce my menu's are working almost exactly as I'd like them to. Only thing left to do is figure out proper behavior for when the Information tab is clicked on, rather than one of the items in it's dropdown.
I actually couldn't find that in my EXTRA.css. @Russ may have removed it when developing the theme?
I don't mind at all. While this would be ideal, at this point, between my day job and my business, I just don't have the time to setup a test forum and learn. But before you think I'm using that as an excuse, June 1 is my last day I'm finally to the point where I'm able to quit and focus on my forums. My intent is to learn PHP and CSS, so I won't have to ask so many dumb questions
If I remember correctly, I think commenting out the splitctrl on mine also removed the arrow, but don't remember. I ate spare ribs since then and took a nap.Ah gotcha! One of those things I did removed the arrow without me adding it
Admin CP -> Appearance -> Templates -> EXTRA.css
Rich (BB code):.navTab.members .SplitCtrl { display: none; }
Just specify the tabid which can be seen in the html source.
Contact the style provider or assistance? Most of them provide 12 months of support with their paid styles (I assume you are using a paid one).Any ideas?
We use essential cookies to make this site work, and optional cookies to enhance your experience.