Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Digital Nature"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2006, 03:07 AM
New Pligger
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Three Columns?

Does anyone know how I can make DigitalNature 3 columns?
Reply With Quote
  #2 (permalink)  
Old 12-20-2006, 09:58 AM
unu unu is offline
Casual Pligger
 
Join Date: Nov 2006
Posts: 54
Thanks: 1
Thanked 25 Times in 9 Posts
in pligg.tpl:

after

Code:
<div id="sidebar">
  {include file=$tpl_right_sidebar.".tpl"}
</div>
add:

Code:
<div id="sidebar-right">
  [put the content you want here]
</div>
and, in the main.css add (at the end of the file):

Code:
#main{
 padding:35px 218px 0px 218px;
}

#sidebar-right{
 background:transparent url(../images/sidebar.gif) repeat-x left top;
 float:right;
 width:200px;
 min-height:250px;
 height:auto !important;
 height:250px; 
 border-right:1px solid #fff;
 padding-top:36px;
}
Reply With Quote
  #3 (permalink)  
Old 12-20-2006, 12:44 PM
New Pligger
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Got it working! Thanks!
Reply With Quote
  #4 (permalink)  
Old 12-29-2006, 07:27 PM
inet's Avatar
New Pligger
 
Join Date: Dec 2006
Location: UK
Posts: 24
Thanks: 1
Thanked 4 Times in 3 Posts
Sweet man! Got it working.

Now how can we split some of the stuff between the sidebars?
__________________
Social Bookmarking solutions;
http://www.socioclick.com
Open Source Development and Solutions;
http://www.oscandy.com
Pligg Site: http://www.sweets.oscandy.com
Reply With Quote
  #5 (permalink)  
Old 01-13-2007, 05:09 PM
New Pligger
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
alternate layouts depending on the page

I would like some pages to be 2 columns and some pages to be 3 columns in the DigitalNature template. Is there a simple {if} statement I could wrap around the main.css file so that I could switch it depending on which page is being used?
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
change 1 column to 2 columns (yget) qads Template Support 1 02-18-2008 04:44 PM
Displaying stories in rows and columns tbronson General Help 0 09-23-2007 10:37 AM
OLGn modified to three columns aixelsyd Template Support 0 08-07-2007 08:28 AM
Two columns kamash2006 General Help 0 05-11-2007 11:47 AM
On Submit Page: Make Catagories in 2-3 Columns instead of one? hevnsnt Modification Tutorials 1 02-23-2006 02:08 AM


Search Engine Friendly URLs by vBSEO 3.2.0