Setting Margin Spacing On Forum Page?


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

Profile PM  
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: [Download] [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 */

Profile PM  
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!

Profile PM  
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

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You cannot download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0972s (PHP: 19% SQL: 81%)
SQL queries: 10 - Debug Off - GZIP Enabled