Topic: Additional Sidebar
Hi,
Could anyone help me on how to put additional sidebar? Specifically adding a left sidebar.
Thanks in advance for the help ![]()
Welcome to jobberBase Developer Community!
You are not logged in. Please login or register.
We've just added a new category for forums dedicated to local communities.
If you're interested in starting a community in your country or even city, please write us at hello@jobberbase.com and we'll make it happen.
We're also looking for moderators on each local community -- so email us :).
Pages: 1
Hi,
Could anyone help me on how to put additional sidebar? Specifically adding a left sidebar.
Thanks in advance for the help ![]()
Hi,
I can give you an idea where to start from
But just to be sure, make a backup of your site first, in case it's not what you want.
- go in _templates and create a file sidebar-left.tpl where you put your html code
- go in _templates/header.tpl and add before the line containing <div id="sidebar">, the following code:
<div id="sidebar-left">
{include file="sidebar-left.tpl"}
</div><!-- #sidebar-left -->
- go in css/screen.css and add at the bottom of the file:
#sidebar-left {
float: left;
width: 145px;
padding: 10px 0 0 0;
}
#sidebar-left a {
color: #0099CC;
padding: 2px;
font-size: 11px;
}
and, in the same file, replace the line (somewhere arround line 100)
#content { width: 755px; padding-right: 10px;}
with
#content { width: 605px; padding-right: 10px; margin-left:150px;}
Hope it helps!
Hi links,
Thanks for the codes for the extra sidebar, it works great! ![]()
You're the best ![]()
Posts [ 3 ]
Pages: 1
Powered by FluxBB
[ Generated in 0.049 seconds, 6 queries executed ]