2014-01-14, 08:09 PM
Pages: 1 2
2014-01-14, 09:24 PM
ACP → Styles & Templates → Templates → [your_name_theme] Templates → Post Bit Templates → postbit
Find a class that included a fragment of that part. Then in this class add
Find a class that included a fragment of that part. Then in this class add
background: # color;
MikeInToshx
2014-01-14, 09:42 PM
I don't get it.
Heres the code:
Heres the code:
{$ignore_bit}
<div class="tborder" id="post_{$post['pid']}">
<div class="smalltext thead" id="pid{$post['pid']}">
{$post['postdate']} {$post['posttime']}
<span class="float_right">{$lang->postbit_post} <a href="{$post['postlink']}#pid{$post['pid']}">#{$postcounter}</a></span>
</div>
<div class="postbit_border {$altbg}">
<!--Postbit author info-->
<div class="postbit_author_horizontal">
<span class="inline-block vmiddle">{$post['useravatar']}</span>
<span class="inline-block vmiddle">
<a href="#" id="profile_{$post['pid']}">{$post['username_formatted']}</a>{$post['onlinestatus']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
<span class="float_right">{$post['user_details']}</span>
</div>
<!--Postbit author info-->
<!--Postbit post-->
<div class="postbit_body_horizontal">
<table>
<tr> <td class="posts" style="{$post_visibility}">
<div class="tcat smalltext">{$post['icon']}{$post['subject']} {$post['subject_extra']} {$post['posturl']}</div>
<div class="postbit_content_horizontal" id="pid_{$post['pid']}">
<div class="postbit_message">{$post['message']}</div>
{$post['attachments']}
{$post['editedmsg']}
{$post['signature']}
</div>
</td> </tr>
</table>
</div>
<!--Postbit post-->
<!--Postbit bottom-->
<div class="postbit_bottom">
<div class="inline-block float_left">
{$post['iplogged']}{$post['button_report']}{$post['button_warn']}{$post['button_rep']}
</div>
<div class="inline-block float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
<!--Postbit bottom-->
</div>
</div>
<!--Profile quick links-->
<div id="profile_{$post['pid']}_popup" class="popup_menu_thread" style="display: none;">
<ul class="popup_profile">
<li><img src="{$theme['imgdir']}/profile_icons/user.png" alt="" class="vmiddle" /> <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$post['uid']}">View profile</a></li>
{$post['button_find']}
<li><img src="{$theme['imgdir']}/profile_icons/thread.png" alt="find threads" class="vmiddle" /> <a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid={$post['uid']}">Find all threads by this user</a></li>
{$post['button_pm']}
{$post['button_email']}
{$post['button_www']}
</ul>
</div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("profile_{$post['pid']}");
}
// -->
</script>
<!--Profile quick links-->
<br />
2014-01-14, 09:57 PM
Try this:
<div class="postbit_border {$altbg}">
Replace this: <div class="postbit_border" style="background: #yourcolor;">
MikeInToshx
2014-01-14, 10:11 PM
Doesn't work
2014-01-15, 04:32 AM
replies at earlier thread might help --> changing left side post background
MikeInToshx
2014-01-15, 10:58 AM
Thats the first thing I did. But the code is different.. this theme is 85% made out of divs.
I tried what we did in that previous thread, adding leftcol after {$altbg} and adding the .leftcol to global.css but it doesn't work.
I tried what we did in that previous thread, adding leftcol after {$altbg} and adding the .leftcol to global.css but it doesn't work.
MikeInToshx
2014-01-17, 03:48 PM
Still need help with this.
2014-01-17, 05:10 PM
Post your postbit template here.
2014-01-17, 05:19 PM
Please install firebug and give it a try!
Pages: 1 2