2016-02-25, 01:38 PM
Hi guys!
I know CSS enought to edit most files which I'm using but now I don't have idea how to solve my problem.
I will try to explain it. I need to split "Tematy" and "Posty" to two separated columns called "Wątków" and "Postów", also I need to move marked section to right margin.
It's really outgrowing my CSS skills. If anyone would like to help me with this I will be really grateful (maybe I can do you some gfx for help).
Address where issue is visible - http://1337forum.pl/forumdisplay.php?fid=14
And there is forumbit_depth2_cat code:
In forumdisplay_subforums I found this - part of displaying "DZIAŁ, WĄTKÓW, POSTÓW, OSTATNI POST" - that's above thing I want to move
Columns are not separated by colspan, but usign percentage "width" attribute. There's no "colspan" in any files which you indicated.
I'm including also code from forumbit_depth2_forum
I have not noticed this in subforums file:
gonna try to edit this and will tell if this gonna fix issue
@edit2:
this changed only columns in this green bar above things I want to move
@edit3:
okay, I added colspan here (forumbit_depth2_forum):
</td>
<td class="{$bgcolor}" colspan="2" align="center" style="white-space: nowrap">
<div class="stats-box smalltext">
But this changed into this showing subforum:
So here it looks a little bit better but still spliting for "WĄTKÓW" and "POSTÓW" is still pretty bad.
and my index page after this change looks much worse:
please move this thread to http://community.mybb.com/forum-149.html
I've made mistake on posting here
I know CSS enought to edit most files which I'm using but now I don't have idea how to solve my problem.
I will try to explain it. I need to split "Tematy" and "Posty" to two separated columns called "Wątków" and "Postów", also I need to move marked section to right margin.
It's really outgrowing my CSS skills. If anyone would like to help me with this I will be really grateful (maybe I can do you some gfx for help).
Address where issue is visible - http://1337forum.pl/forumdisplay.php?fid=14
And there is forumbit_depth2_cat code:
<tr>
<td class="{$bgcolor}" align="center" width="1"><div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments-o"></i></div></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">
<div class="stats-box smalltext">
<div class="float_left">Tematy:</div> <div class="float_right">{$threads}{$unapproved['unapproved_threads']}</div><br class="clear" />
<div class="float_left">Posty:</div> <div class="float_right">{$posts}{$unapproved['unapproved_posts']}</div>
</div>
</td>
<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
In forumdisplay_subforums I found this - part of displaying "DZIAŁ, WĄTKÓW, POSTÓW, OSTATNI POST" - that's above thing I want to move
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%"> </td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />
Columns are not separated by colspan, but usign percentage "width" attribute. There's no "colspan" in any files which you indicated.
I'm including also code from forumbit_depth2_forum
<tr>
<td class="{$bgcolor}" align="center" width="1"><div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments-o"></i></div></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">
<div class="stats-box smalltext">
<div class="float_left">Tematy:</div> <div class="float_right">{$threads}{$unapproved['unapproved_threads']}</div><br class="clear" />
<div class="float_left">Posty:</div> <div class="float_right">{$posts}{$unapproved['unapproved_posts']}</div>
</div>
</td>
<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
I have not noticed this in subforums file:
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
gonna try to edit this and will tell if this gonna fix issue
@edit2:
this changed only columns in this green bar above things I want to move
@edit3:
okay, I added colspan here (forumbit_depth2_forum):
</td>
<td class="{$bgcolor}" colspan="2" align="center" style="white-space: nowrap">
<div class="stats-box smalltext">
But this changed into this showing subforum:
So here it looks a little bit better but still spliting for "WĄTKÓW" and "POSTÓW" is still pretty bad.
and my index page after this change looks much worse:
please move this thread to http://community.mybb.com/forum-149.html
I've made mistake on posting here