Fixed width Subsilver2
Fixed-width boards are becoming increasingly popular, and there’s nothing to suggest that will change. Users who are familiar with the phpBB Community will know just how many times people have asked the question “How to I center-align my board?”. In December 2007 a former Styles Team member (thatbitextra) posted an Article giving the code to make prosilver fixed width. Although to this day, there hasn’t really been a clear guide explaining how to accomplish the same effect with Subsilver2. Well, look no further.
Open: /styles/subsilver2/theme/stylesheet.css
Find:
.username-coloured {
font-weight: bold;
}
Below, Add:
#wrap {
width: 900px; /* Choose width here. */
margin: 0 auto;
}
Open: /styles/subsilver2/template/overall_header.html
Find:
<body class="{S_CONTENT_DIRECTION}">
Below, Add:
<div id="wrap">
Open: /styles/subsilver2/template/overall_footer.html
Find:
</body>
Before, Add:
</div>
Refresh Subsilver2’s template cache and your browser cache to see the changes.
