2014-09-22, 03:23 PM
No, the theme don't have portal link, you can add it if you want, follow this steps:
1. Edit header template, search this:
And add the portal link in this way:
2. Open square.css, search this class:
Now, modify the 25px margin for 15px, in this way:
And that's all.
Now, if you want to change the symbol in that button:
1. Open postbit_email in post bit templates, and you will see something like this:
Now, replace all that with this:
What's the change? this: <i style="font-size: 14px;" class="fa fa-at fa-fw"></i>, that's the @ symbol in FontAwesome icons.
Of course, if you want to add a symbol, or even words, you need to remove this "<i style="font-size: 14px;" class="fa fa-at fa-fw"></i>" and add your symbol/text there.
Greetings!
1. Edit header template, search this:
<div id="header">
<div class="wrapper">
<div class="logo"><div class="logo2"><i class="fa fa-cube fa-fw"></i></div> Square</div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/index.php"><i class="fa fa-comments fa-2x"></i><br />Index</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php"><i class="fa fa-search fa-2x"></i><br />Search</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><i class="fa fa-users fa-2x"></i><br />Members</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><i class="fa fa-calendar-o fa-2x"></i><br />Calendar</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><i class="fa fa-question-circle fa-2x"></i><br />Help</a></li>
</ul>
</div>
</div>
</div>
And add the portal link in this way:
<div id="header">
<div class="wrapper">
<div class="logo"><div class="logo2"><i class="fa fa-cube fa-fw"></i></div> Square</div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/portal.php"><i class="fa fa-home fa-2x"></i><br />Portal</a></li>
<li><a href="{$mybb->settings['bburl']}/index.php"><i class="fa fa-comments fa-2x"></i><br />Index</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php"><i class="fa fa-search fa-2x"></i><br />Search</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><i class="fa fa-users fa-2x"></i><br />Members</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><i class="fa fa-calendar-o fa-2x"></i><br />Calendar</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><i class="fa fa-question-circle fa-2x"></i><br />Help</a></li>
</ul>
</div>
</div>
</div>
2. Open square.css, search this class:
.menu ul li {
list-style: none;
display: inline-block;
margin: 0 0 0 25px;
padding: 0;
text-align: center;
width: 60px;
height: 60px;
line-height: 30px;
}
Now, modify the 25px margin for 15px, in this way:
.menu ul li {
list-style: none;
display: inline-block;
margin: 0 0 0 15px;
padding: 0;
text-align: center;
width: 60px;
height: 60px;
line-height: 30px;
}
And that's all.
Now, if you want to change the symbol in that button:
1. Open postbit_email in post bit templates, and you will see something like this:
<span class="minibutton"><a href="member.php?action=emailuser&uid={$post['uid']}" title="{$lang->postbit_email}" title="{$lang->postbit_button_email}"><i style="font-size: 14px;" class="fa fa-envelope fa-fw"></i></a></span>
Now, replace all that with this:
<span class="minibutton"><a href="member.php?action=emailuser&uid={$post['uid']}" title="{$lang->postbit_email}" title="{$lang->postbit_button_email}"><i style="font-size: 14px;" class="fa fa-at fa-fw"></i></a></span>
What's the change? this: <i style="font-size: 14px;" class="fa fa-at fa-fw"></i>, that's the @ symbol in FontAwesome icons.
Of course, if you want to add a symbol, or even words, you need to remove this "<i style="font-size: 14px;" class="fa fa-at fa-fw"></i>" and add your symbol/text there.
Greetings!
I don't give support on PM.