Resizing the width of subsilver2

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Resizing the width of subsilver2

Post by gorepitdotnet »

How?

All I have found is how to resize the width of prosilver, but I was wondering how to do the same for subsilver2.

Also, I would like to resize it to the same size as http://www.zombieforum.net/ but im not sure what width that is.
I would also like to add a rectangular border thing around all of the content just how they have done on the forum, but I have no idea where to start.

I found some links on Google, but they were just linking to phpbb.com which is still down :(

User avatar
Lumpy Burgertushie
Registered User
Posts: 1006
Joined: Tue Feb 28, 2006 5:26 pm

Re: Resizing the width of subsilver2

Post by Lumpy Burgertushie »

gorepitdotnet wrote:How?

All I have found is how to resize the width of prosilver, but I was wondering how to do the same for subsilver2.

Also, I would like to resize it to the same size as http://www.zombieforum.net/ but im not sure what width that is.
I would also like to add a rectangular border thing around all of the content just how they have done on the forum, but I have no idea where to start.

I found some links on Google, but they were just linking to phpbb.com which is still down :(
set the width of the very first table in the overall_header.html file to whatever you want the whole board to be.

robert

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Resizing the width of subsilver2

Post by gorepitdotnet »

Thanks!

Could you tell me what the width is on http://www.zombieforum.net ? I see a lot of forums have that width, but im not sure of the exact size :mrgreen:

chrisx16x2008
Registered User
Posts: 6
Joined: Sun Feb 08, 2009 8:26 pm

Re: Resizing the width of subsilver2

Post by chrisx16x2008 »

looks to me to be about 1000px wide

User avatar
RMcGirr83
Registered User
Posts: 360
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: Resizing the width of subsilver2

Post by RMcGirr83 »

According to that sites css, it's 940px.
Do not hire Christian Bullock he won't finish the job and will keep your money

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Resizing the width of subsilver2

Post by gorepitdotnet »

Sorry but where do I edit this?

when i open the overal_header the first table dosent make a difference?

some of the code:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">

	<div id="logodesc">
		<table width="940px" cellspacing="0">
		<tr>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
			<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
		</tr>
		</table>
	</div>
Any help where I change the width of the forum?

User avatar
RMcGirr83
Registered User
Posts: 360
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: Resizing the width of subsilver2

Post by RMcGirr83 »

You can try this, open styles/xxx/stylesheet.css and find the following declarations

Code: Select all

#wrapheader
#wrapcentre
#wrapfooter
You need to add some css in those, fwiw here is mine that centers the subsilver2 style and makes the forum 940px wide

Code: Select all

#wrapheader {
	min-height: 120px;
	width: 940px;
    margin: auto;
	height: auto !important;
	height: 120px;
/*	background-image: url('./images/background.gif');
	background-repeat: repeat-x;*/
	padding: 0 25px 15px 25px;
/*	padding: 0;*/
}

#wrapcentre {
    margin: auto;
/*	margin: 15px 25px 0 25px;*/
	width: 940px;
}

#wrapfooter {
	text-align: center;
	margin: auto;
	clear: both;
	width: 940px;
}
the margin: auto centers it and the width: 940px defines the width.

Image

above pic is close to what it looks like...sort of.
Do not hire Christian Bullock he won't finish the job and will keep your money

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Resizing the width of subsilver2

Post by gorepitdotnet »

I LOVE YOU!!!! YASY!"!!!!! WOOOOO lol!

Thanks a lot! :D

Locked