1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Remove Quick Links from Menu navigation

Discussion in 'Styling and Customization Questions' started by Benas223, May 5, 2015.

  1. Benas223

    Benas223 Member

    Is it possible to remove quick links pop up (just like here on xenforo, Media pop down tab) when hovering over Members tab? But leave them below the navigation when the members page is opened?

    From navigation:
                    <!-- members -->
            <xen:if is="{$tabs.members}">
                <xen:if is="@xb_nav_disablesub">
                <li class="navTab members {xen:if $tabs.members.selected, 'selected'} Popup PopupControl PopupClosed">
                <xen:else />
                <li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
                    <a href="{$tabs.members.href}" class="navLink<xen:if is="@xb_nav_disablearrow"> NoPopupGadget" rel="Menu</xen:if>">{$tabs.members.title}</a>
                    <xen:if is="!@xb_nav_disablearrow"><a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a></xen:if>
                    <div class="xbTabPopupArrow">
                        <span class="arrow"><span></span></span>
                    <xen:if is="@xb_nav_disablesub">
                    <div class="{xen:if {$tabs.members.selected}, 'selectedMenu'} Menu JsOnly tabMenu membersTabLinks">
                    <xen:else />
                    <div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} membersTabLinks">
                    <xen:if is="@xb_nav_stretch OR @xb_widen"><div class="xbMaxwidth"></xen:if>
                        <div class="primaryContent menuHeader">
                            <div class="muted">{xen:phrase quick_links}</div>
                        <ul class="secondaryContent blockLinksList">
                        <xen:hook name="navigation_tabs_members">
                            <li><a href="{xen:link members}">{xen:phrase notable_members}</a></li>
                            <xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}">{xen:phrase registered_members}</a></li></xen:if>
                            <li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
                            <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
                            <xen:if is="{$canViewProfilePosts}"><li><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></li></xen:if>
                    <xen:if is="@xb_nav_stretch OR @xb_widen"></div></xen:if>
    Last edited: May 6, 2015
  2. Russ

    Russ Well-Known Member

    Could try this in extra.css:

    .navTab.members:hover .SplitCtrl {
    display: none;
    It simply removes the dropdown arrow to activate the menu, but it would still load those links in the subnav, is that what you're after?
    Benas223 likes this.
  3. Benas223

    Benas223 Member

    That is exactly what I needed, thanks Russ!

Share This Page