MyBB Support

Problem with sidebar :(

Submitted by redd, , Thread ID: 22329

Thread Closed

RE: Problem with sidebar :(

OP
This post was last modified: 11-07-2016, 12:05 PM by redd
#6
11-07-2016, 07:20 AM
linkzy Wrote:
Paste the index template here :3 ?

Here is the index code.

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}{$recentthread_headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}


<div style="width: 74%; float: left;">{$forums}</div>
<div id="sidebar">
<table border="0" cellspacing="0" cellpadding="10" class="tborder">
<tbody>
<tr>
<td class="shead" colspan="4" align="left"><strong>Statistics</strong></td>
</tr>
<tr>
<td class="trow1 sidebar" style="padding:10px;">
<div class="float_left">Total Posts:</div><div class="float_right">{$stats['numposts']}</div>
</td>

</tr>
<tr>
<td class="trow1 sidebar" style="padding:10px;">
<div class="float_left">Total Threads:</div><div class="float_right">{$stats['numthreads']}</div>
</td>

</tr>
<tr>
<td class="trow1 sidebar" style="padding:10px;">
<div class="float_left">Total Members:</div><div class="float_right">{$stats['numusers']}</div>
</td>

</tr>
<tr>
<td class="trow1 sidebar" style="padding:10px;">
<div class="float_left">Latest User:</div><div class="float_right">{$newestmember}</div>
</td>
</tr>
<tr>
{$recentthreadtable}
</tr>

{$teamonline}

</tbody></table>
</div>
<br>

{$boardstats}

</body>
</html>

11-07-2016, 02:57 AM
Faded Wrote:
11-07-2016, 02:56 AM
redd Wrote:
11-07-2016, 02:56 AM
Faded Wrote:
Use css?

I tried but without luck ::(hats why i asking hope someone could help me

Well it should probably be floating right, and have some kind of width.

And ye i know but i tried it with element inspect but its using the same width as the forums. So if i change 100% to whatever would be good it changes the complete width

Users browsing this thread: 1 Guest(s)