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

[Request] Temlate modification like http://www.quantnet.com/forum/

Discussion in 'XenForo Questions and Support' started by Raja, Mar 18, 2011.

  1. Raja

    Raja Member

    Andy.N likes this.
  2. ddmmh

    ddmmh Well-Known Member

  3. Brogan

    Brogan XenForo Moderator Staff Member

    Edit sidebar_visitor_panel.

    Look for this:
    Code:
    <div class="section loginButton">
    <div class="secondaryContent">
    <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:phrase sign_up_now}</a></label>
    </div>
    </div>

    Replace with this:
    Code:
    <div class="section loginButton">
    <div class="secondaryContent">
    <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:phrase sign_up_now}</a></label>
    
    <xen:if is="{$xenOptions.facebookAppId}">
    <div class="cta_fbButton">
    <a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin"><span>{xen:phrase login_with_facebook}</span></a>
    </div>
    </xen:if>
    </div>
    </div>

    Add this to EXTRA.css:
    Code:
    .cta_fbButton {
    margin: 10px 30px;
    text-align: center;
    }
     
    Andy.N and Raja like this.
  4. Raja

    Raja Member

    Thanks a lot,
    Raja
     

Share This Page