Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: MarkoKg on December 04, 2017, 04:26:44 PM

Title: Space between boards?
Post by: MarkoKg on December 04, 2017, 04:26:44 PM
Hello there.

I'd like to add extra padding between boards, not really sure how to handle that best? I tried using css but as the boardIndex is actually a table, I can't seem to add padding to it. Any suggestions?
Title: Re: Space between boards?
Post by: Gwenwyfar on December 04, 2017, 05:13:08 PM
See if border-spacing: 0 10px on the table element does what you're after. May not work very well depending on your sub-board display settings, but is the easiest method.
Title: Re: Space between boards?
Post by: Rock Lee on December 05, 2017, 09:46:09 AM
It is always to look for the value by playing a little with the inspect element (some themes vary) but generally there is to modify some margin of the css or padding to achieve the desired.


Regards!
Title: Re: Space between boards?
Post by: Gwenwyfar on December 05, 2017, 09:54:53 AM
Inspect element is very useful indeed :) This case is a little more complicated though, tables have no internal margins and padding may not do what he needs if there are any borders/backgrounds involved.
Title: Re: Space between boards?
Post by: Rock Lee on December 05, 2017, 03:51:28 PM
Generally I always edit it that way it did not give me major problems just that it varies from theme to theme as it has to be applied since it can be affected many areas but it is necessary to directly edit the php to apply the separation itself ...


Regards!