open template/overall_header.html
find
Code: Select all
before-add
</ul>
</div>
<div class="cb"></div>
<span class="nav-corners-bottom"><span></span></span>
Code: Select all
open template/overall_footer.html<li class="fr"><input type="button" data-name="show" value="Toggle" id="toggle"></li>
find
Code: Select all
after-add
<!-- ENDIF -->
</div><!-- /.sidebarwrapper -->
<!-- ENDIF -->
Code: Select all
open theme/se_gamer.css<script type="text/javascript">
$(document).ready(function () {
$("#toggle").click(function () {
if ($(this).data('name') == 'show') {
$(".fluidfixed-sidebar").animate({
width: '0%'
}).hide()
$(".fluidfixed-content").animate({
width: '100%'
});
$(this).data('name', 'hide')
} else {
$(".fluidfixed-sidebar").animate({
width: '19%'
}).show()
$(".fluidfixed-content").animate({
width: '80%'
});
$(this).data('name', 'show')
}
});
});
</script>
find
Code: Select all
after-add
.sidebarwrapper {
position: relative;
Code: Select all
find
background-color: #181818;
Code: Select all
replace with
/* left sidebar, right section */
.fixedfluid-content {
padding: 0 0 0 170px;
background: white;
Code: Select all
find
/* left sidebar, right section */
.fixedfluid-content {
padding: 0 0 0 170px;
background: #181818;
Code: Select all
replace with
/* right sidebar, left section */
.fluidfixed-content {
padding-right: 270px;
background: white;
Code: Select all
find
/* right sidebar, left section */
.fluidfixed-content {
background: #181818;
width: 80%;
Code: Select all
replace with
/* right sidebar */
.fluidfixed-sidebar, .fixedfluidfixed-right {
position: absolute;
right: 0;
top: 0;
width: 260px;
Code: Select all
open theme/colours.css/* right sidebar */
.fluidfixed-sidebar, .fixedfluidfixed-right {
position: absolute;
right: 0;
top: 0;
width: 19%;
find
Code: Select all
replace with
background: url("{T_THEME_PATH}/images/bg.jpg") repeat left top #f9f9f9;
Code: Select all
save and upload files. refresh your templates and theme in the ACP background: url("{T_THEME_PATH}/images/bg.jpg") repeat left top #181818;
now, some of these changes are to fix the white background in the style when you enable the sidebar... those are flaws in the style itself that i had to fix before even starting to add the collapse for the sidebar. this code is of course use at your own risk but if you have any questions, feel free to post them here
i'm also including the entire modified style to which the style designer Christian Bullock created