View Full Version : How can I delete both the right n left Columns on Greenleaves
Cleve Johns
06-24-2007, 11:19 PM
Hi eSyndicat..
First ...Thanks for the GREAT script..!!!
I am trying to have a directory similar to http://www.2yi.net/ without both side columns but still have the funtionality of sponsered links.. I am using Greenleaves..
Any help will be high appreciated.. Thanks!
Loren
06-24-2007, 11:56 PM
From what I remember been awhile since I looked at green leaves, but most of the details that need to be removed are in header and footer. Sure someone will tell you exactly how and what to remove, but you can have a look in mean time...remember to back up if you fiddle! :)
Tilek E.
06-25-2007, 04:32 AM
If you want to remove sponsored links box just find and remove the code below in footer.tpl file:
{if $sponsored_links}
<!-- sponsored links box start -->
{include file="box-header.tpl" caption=$lang.sponsored_links style="orange"}
<div class="links">
{foreach from=$sponsored_links item=link}
<div class="sponsored-link"><a href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a></div>
{/foreach}
</div>
{include file="box-footer.tpl"}
<!-- sponsored links box end -->
{/if}
In order to reduce right and left columns' width (to make them the same as http://www.2yi.net/) open style.css and make the highlighted changes:
td.column
{
background: #efefef url('../img/td-bg.gif');
width: 30px;
}
To reduce the width of the site find and edit the following code in style.css:
div.page
{
background-color: #FFF;
margin: 0 auto;
width: 790px;
}
Feel free to ask any questions.
Cleve Johns
06-25-2007, 03:19 PM
Thanks a million times eSyndicat... Thanks for everything.. Gr8 Great script and for the superb support..!
Tilek E.
06-26-2007, 08:14 AM
I'm glad to be of any help to you, Cleve Johns :)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.