2014-09-21, 07:39 PM
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
2014-09-21, 11:15 PM
2014-09-22, 12:57 AM
(2014-09-21, 11:15 PM)zaishen Wrote: [ -> ]yes, i want the space between the posts to be smaller, i want the post to be closer
Remove the <br /> you add, and search in showthread template something like this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear">
the only thing you need to change is "tborder" to "tborder2", something like this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2 tfixed clear">
now, in global.css or square.css add this class:
Quote:.tborder {
background: #fff;
width: 100%;
margin: 3px auto;
}
You can play with the 3px margin until you find the space you want.
2014-09-22, 11:56 AM
(2014-09-22, 12:57 AM)eNvy Wrote: [ -> ](2014-09-21, 11:15 PM)zaishen Wrote: [ -> ]yes, i want the space between the posts to be smaller, i want the post to be closer
Remove the <br /> you add, and search in showthread template something like this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear">
the only thing you need to change is "tborder" to "tborder2", something like this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2 tfixed clear">
now, in global.css or square.css add this class:
Quote:.tborder {
background: #fff;
width: 100%;
margin: 3px auto;
}
You can play with the 3px margin until you find the space you want.
Thank you, worked, first time not worked because you write only:
.tborder {
i added 2 and worked
2014-09-22, 12:41 PM
Seems like I forgot to write the 2 haha, yes, you need a new class because tborder is used in another places too, sorry about that.
Greetings!
Greetings!
2014-09-22, 02:13 PM
the theme dont have "Portal" link?
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!
2014-09-22, 05:08 PM
2014-09-22, 08:05 PM
I assume you can, but I don't know where is the time for the collapse animation, maybe in a core file, but don't know which.
2014-09-23, 01:40 PM
(2014-09-22, 05:08 PM)zaishen Wrote: [ -> ]You know if we can we add some timer on collapse categories? to make the collapses close smooth?
You can edit the speed of the effect in jscripts/jquery.plugins.js
I changed mine from fast to slow, make a back up of the file before messing with anything if you don't know what you're doing.