News:

Wondering if this will always be free?  See why free is better.

Main Menu

padding between threads

Started by anshar, October 18, 2008, 07:20:14 AM

Previous topic - Next topic

anshar

For some weird reason all threads listed on my forum page (default theme) have too big space in-between them. I would like to squeeze them a bit, I think it has something to do with padding. Could tell me what in the code or css should I look for and what to change?

ps. I'm using latest public beta, I've the other forum on 2.0 beta 3.1 and there was no such problem, this is only in the 4.0 one. Tried to replace 4.0 style.css with 3.1 one but they seem to be quite different, which ends with broken forum.

Jade Elizabeth

Can I please see this error?

What browser does it occur on?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

anshar

it does occur on any browser



The left one is on 3.1 and the right one is from beta 4


Jade Elizabeth

May I have a link to your forum please? So I can see the CSS myself? You can PM it if you dont want it public :).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Jade Elizabeth

Okay, the extra padding is there, because of the last cell....which has 2 lines. It has padding. You can remove it if you want, but that last cell may appear squished.


In theme/default/css/forum.css:
table.boardsframe td.lastpost
{
width: 20%;
vertical-align: top;
padding: 0.5em;
}


Remove the padding line, or change it to your needs, perhaps use pixels if you are unsure of ems :).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

anshar

Tried some tricks with this padding: 0.5em; either making it 0.1 or removing whole line but it was affecting the mainpage only, you know, where the forum names are. Mainly the last post cell.

Nathaniel

Try doing a search for this code in your '/Themes/default/css/forum.css' file:
#messageindex td.subject

That should have a 'padding' atribute that you can edit. :)
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

anshar

Maybe not that #messageindex td.subject alone, but I played a bit with the other paddings at that area and managed to change it.

Thanks guys.

Advertisement: