• 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/

Brogan

XenForo moderator
Staff member
#3
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;
}