MyBB Community Forums
Reduce spacing - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Reduce spacing (/thread-163783.html)

Pages: 1 2


Reduce spacing - ytt - 2014-12-05

http://awesomescreenshot.com/0f23zahhf4

Can anyone please tell me how i can reduce the spacing in the screenshot so page goes up slightly its down alot right now


RE: Reduce spacing - Greg Winston - 2014-12-06

(2014-12-05, 10:50 PM)ytt Wrote: http://awesomescreenshot.com/0f23zahhf4

Can anyone please tell me how i can reduce the spacing in the screenshot so page goes up slightly its down alot right now

Remove <br> from: Index Page Templates > index_boardstats


RE: Reduce spacing - ytt - 2014-12-06

(2014-12-06, 12:39 AM)Greg Winston Wrote:
(2014-12-05, 10:50 PM)ytt Wrote: http://awesomescreenshot.com/0f23zahhf4

Can anyone please tell me how i can reduce the spacing in the screenshot so page goes up slightly its down alot right now

Remove <br> from: Index Page Templates > index_boardstats

I dont have <br> there. Url is http://adminads.com, if that makes it easier to help.


RE: Reduce spacing - SvePu - 2014-12-06

...there is definitely a <br /> in theme template index_boardstats... Wink

[attachment=33172]


RE: Reduce spacing - ytt - 2014-12-06

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$online_today}
{$birthdays}
{$viewgroups}
{$forumstats}
<tr>
<td class="tfoot" style="text-align: right">
<span class="smalltext">
{$logoutlink}
<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
<a href="showteam.php">{$lang->forumteam}</a>
{$statspage}
</span>
</td>
</tr>
</tbody>
</table>

(2014-12-06, 10:59 AM)SvePu Wrote: ...there is definitely a <br /> in theme template index_boardstats... Wink

I'm sure its not look, i even pasted it here


RE: Reduce spacing - SvePu - 2014-12-06

Hmm OK....Now I don't know where the blank line came from.

You also could remove the <br> in the end of global prostats template.

[attachment=33173]


RE: Reduce spacing - .m. - 2014-12-06

theme's global.css - around line 69 - #content has padding 20px 10px - can be reduced (you can experiment with it)
remember to hard refresh your browser (eg. press CTRL + F5) on index page after editing global.css

see if required => css padding guidance (external site)


RE: Reduce spacing - ytt - 2014-12-06

(2014-12-06, 11:45 AM).m. Wrote: theme's global.css - around line 69 - #content has padding 20px 10px - can be reduced (you can experiment with it)
remember to hard refresh your browser (eg. press CTRL + F5) on index page after editing global.css

see if required => css padding guidance (external site)

I changed it to 5by5 now it looks better but trying to reduce more thanks

http://awesomescreenshot.com/0943zcde2b

top has more spacing then bottom part but i think its better than before

Oh no that messes up logo spacing as well back to normal.


RE: Reduce spacing - SvePu - 2014-12-06

Have you tried this?
(2014-12-06, 11:36 AM)SvePu Wrote: ......

You also could remove the <br> in the end of global prostats template.



RE: Reduce spacing - ytt - 2014-12-06

(2014-12-06, 12:45 PM)SvePu Wrote: Have you tried this?

(2014-12-06, 11:36 AM)SvePu Wrote: ......

You also could remove the <br> in the end of global prostats template.

Were do i find the global prostats template?