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

XF 1.4 Floating "tab" in the Ad_header template

Discussion in 'Styling and Customization Questions' started by Betclever, Apr 7, 2015.

  1. Betclever

    Betclever Active Member


    I'm moving my tabs which are on the navigation bar on the right side of the header.
    However, when I paste the code which was on the navigation template so by ex: "members" to the ad_header template, it goes to the left so on the wrong side...

    How can I put it on the right side please?

    Here is the code:

    <!-- members -->
            <xen:if is="{$tabs.members}">
                <li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
                    <a href="{$tabs.members.href}" class="navLink" rel="Menu">{$tabs.members.title}</a>
                    <div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} membersTabLinks">
                        <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>
    If you tell me, just add float: right with a div, ok but where exactly?
    I would like to align it vertically and if possible?

    Thanks for your help.
  2. Betclever

    Betclever Active Member

Share This Page