News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Would like to get more screen Real Estate and resize columns

Started by Wazza, April 30, 2012, 09:18:56 PM

Previous topic - Next topic

Wazza

Would like to get more screen Real Estate

See the columns to the left of the Board heading (I have attached a pic of  the SMF screen area I mean as an exsample)

Ideally I would like to be able to remove the post tally column all together and have the last post column use less screen.

This way the the Board headers and info could use more of the screen  ;) 
(making this better in my option to view for smaller screens)

Cheers Wazza


Sir Osis of Liver

Ok, to remove the posts/topics counts -

In BoardIndex.template.php find this:



// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="stats windowbg">
<p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>
</td>



Change to this:



// Show some basic information about the number of posts, etc.
echo '
</td>
<!--td class="stats windowbg">
<p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>
</td-->




To adjust the width of the last post column -

In /css/index.css find this:



table.table_list tbody.content td.lastpost
{
line-height: 1.3em;
font-size: 85%;
width: 24%;
}



Adjust the width: parameter.

When in Emor, do as the Snamors.
                              - D. Lister

Wazza

Krash, I may have to offer you a Job  :D when I finally get this forum maybe to make some money  ;D   :)

Thank you once again for all your help  ;D

Will try this cheers!

Wazza

Wazza

Krash ...tried this and worked real well  :)

Again thank you

Wazza  ;)

Advertisement: