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

XF 1.2 Terms and Rules and Privacy Policy in footer

Discussion in 'Styling and Customization Questions' started by jauburn, Oct 16, 2013.

  1. jauburn

    jauburn Well-Known Member

    How would I put the Terms and Rules and the Privacy Policy links in the footer rather than underneath the footer, where they now appear?

    I would like those links to appear before Contact Us in the footer. Objective: get rid of unnecessary vertical space.

    Thanks.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Edit the template.
     
    Amaury likes this.
  3. jauburn

    jauburn Well-Known Member

    LOL
     
  4. tommydamic68

    tommydamic68 Well-Known Member

    In the footer template I made these changes to move everything including the RSS button where you desire. Save you template code to be safe.

    Code:
    <ul class="footerLinks">
                <xen:hook name="footer_links">
                    <xen:if is="{$xenOptions.contactUrl.type} === 'default'">
                        <li><a href="{xen:link 'misc/contact'}" class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}">{xen:phrase contact_us}</a></li>
                    <xen:elseif is="{$xenOptions.contactUrl.type} === 'custom'" />
                        <li><a href="{$xenOptions.contactUrl.custom}" {xen:if {$xenOptions.contactUrl.overlay}, 'class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}"'}>{xen:phrase contact_us}</a></li>
                    </xen:if>
                    <li><a href="{xen:link help}">{xen:phrase help}</a></li>
                    <xen:if is="{$homeLink}"><li><a href="{$homeLink}" class="homeLink">{xen:phrase home}</a></li></xen:if>
                    <li><a href="{$requestPaths.requestUri}#navigation" class="topLink">{xen:phrase go_to_top}</a></li>
                    <li><a href="{xen:link forums/-/index.rss}" rel="alternate" class="globalFeed" target="_blank"
                        title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}">{xen:phrase rss}</a></li>
                        <li><xen:hook name="footer_links_legal">
                    <xen:if is="{$tosUrl}"><li><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></li></xen:if>
                    <xen:if is="{$xenOptions.privacyPolicyUrl}"><li><a href="{$xenOptions.privacyPolicyUrl}">{xen:phrase privacy_policy}</a></li></xen:if>
                </xen:hook></li><li><a href="{$requestPaths.requestUri}#navigation" class="topLink">{xen:phrase go_to_top}</a></li>
                <li><a href="{xen:link forums/-/index.rss}" rel="alternate" class="globalFeed" target="_blank"
                        title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}">{xen:phrase rss}</a></li>
                </xen:hook>
                </ul>
     
    jauburn likes this.

Share This Page