2019-12-24, 07:18 PM
2020-01-02, 04:53 PM
Well, you could do something like this
And perhaps, some CSS like this
So, you could just replace your MyBB page template with this simple but flexible right sidebar template, but make sure you put back any JavaScript in the header, if it is already in your previous template. Let us know how it goes.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<div id="main-content">
ENTER SOME MAIN CONTENT
</div>
<div id="right-sidebar">
ENTER SOME SIDEBAR
</div>
<br class="clear" />
{$footer}
</body>
</html>
And perhaps, some CSS like this
#main-content {
padding-right: 10px;
float: left;
width: 70%;
}
#right-sidebar {
overflow: hidden;
margin: 0px;
}
So, you could just replace your MyBB page template with this simple but flexible right sidebar template, but make sure you put back any JavaScript in the header, if it is already in your previous template. Let us know how it goes.