Setting Margin Spacing On Forum Page? »  Show posts from    to     

Icy Phoenix


Customizations And MODs Discussions - Setting Margin Spacing On Forum Page?



Bob Dukes [ Wed 27 Jul, 2016 21:17 ]
Post subject: Setting Margin Spacing On Forum Page?
Hi - I would like to increase the space between the right and left shadows in the forum page after the navigation bar. See www.systemguys.com/sgforum/forum.php. The right and left margins are explicitly set to 7px for the first table "Home>>Forum>>" and changing those does change the spacing for that table. I've been unable to find where the margin settings are for the tables that follow the "Home>>Forum>" (eg. "Multi-Project Scheduling Tool (MPTool)", etc.). Could you please point me to the .tlp or .css file where I can find those margin settings? Any help would be greatly appreciated? - Thanks, Bob


mort [ Thu 28 Jul, 2016 05:19 ]
Post subject: Re: Setting Margin Spacing On Forum Page?
I never did like this phpBB idea of "nested" templates particuaurly when they cross over like this. :(

So if you need to over-ride a .tpl/.css file then you need to copy whatever you need from the "Default Folder" etc, into the style you are changing.

But I think that this is what you are looking for.

And if you only want it to affect "Blue Pearl" then copy the line into the style_p_blue.css

templates/common/common.css

Find:

#content { padding: 2px 7px 5px 7px; text-align: center; }


Else: copy the full block.

Code: [Hide] [Select]
/* VARIOUS SELECTORS - BEGIN */
#acp, #forumtable, p, td, th { /*font-size: 1.1em;*/ font-size: 11px; }
#forumtable { width: 100%; margin: 0; padding: 0; }
#forumtable p { margin: 0; text-align: left; }
#content { padding: 2px 7px 5px 7px; text-align: center; }
#content .content-index { margin-left: 7px; margin-right: 7px; }
.content-padding { padding: 2px; }
.content-no-padding { padding: 0px; }
.min250 { width: 250px; min-width: 250px; }
.extra-top-padding { }
.max-min-right { display: inline; float: right; cursor: pointer; }

.js-sh-box { display: inline; position: relative; }

.no-borders { border: none !important; }

.header-search { padding: 5px; }

.center-block { margin-left: auto; margin-right: auto; text-align: center; }
.center-block-text { margin-left: auto; margin-right: auto; text-align: center; }

.error-message { font-size: 12px; font-weight: bold; }
/* VARIOUS SELECTORS - END */


Informpro [ Thu 28 Jul, 2016 11:07 ]
Post subject: Re: Setting Margin Spacing On Forum Page?
mort wrote: [View Post]
I never did like this phpBB idea of "nested" templates particuaurly when they cross over like this. :(
I can definitely see what you mean: it's more complex for anyone who's not familiar with this system/behavior...

However it's quite nice when you know what's going on and manage to use its full power... Trade-offs!


Bob Dukes [ Thu 28 Jul, 2016 17:33 ]
Post subject: Re: Setting Margin Spacing On Forum Page?
Thanks Mort - Copying the single line #content { padding: 2px 7px 5px 7px; text-align: center; } to style_p_blue.css worked perfectly. - Bob




Powered by Icy Phoenix