News:

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

Main Menu

Help - Increase Tables Height

Started by jmrossi, May 13, 2017, 12:42:48 AM

Previous topic - Next topic

jmrossi

Hello Everyone,

I am trying to figure out a way to change the tables in the boards to have a bigger height.  Here is my example, at the main index page at https://www.railfanaz.com/ there is space for the Avatar to have so they don't overlap.  I want to make the changes in the boards to have a bigger height, I have been looking in the index.css however I am not able to find it.  Thanks for any help.

Arantor

Screenshot please - it looks fine to me on an iPad.
Holder of controversial views, all of which my own.


jmrossi

Here is a screenshot. I want to be able to make the table's cells height bigger.

As you can see on the main link or the Index the cells are bigger.

Thanks!

Arantor

OK, so I see what you're getting at - but you've hidden the avatars again (or hidden them from guests) so I can't look at it in place and give you the code to need - since this kind of code works best if it can be tweaked in place in the browser.

That said as a first guess, this CSS could be added to your theme's index.css file:

#messageindex tbody tr:not(.whos_viewing) td {
    padding-top: 15px;
    padding-bottom: 15px;
}


This targets all the rows in the message index body (so not the column headings) and avoids the 'You and 1 guest are viewing this board' message.

15px might end up being too big but given the size of avatars, I don't think so.
Holder of controversial views, all of which my own.


jmrossi

Great, Thanks so much, that worked perfectly.   :)

Steve

Marking solved then. If you have any other questions regarding this topic, by all means, mark this unsolved and let us know. :)
My pet rock is not feeling well. I think it's stoned.

Advertisement: