Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > "yget"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2007, 12:16 AM
onelessthang's Avatar
Constant Pligger
 
Join Date: Feb 2007
Location: Dallas, TX - USA
Posts: 120
Thanks: 39
Thanked 32 Times in 16 Posts
Unhappy Footer Overlapping Sidebar

I have read through the multiple post and I cannot find the answer I need. I am using yget at www.gordonkeithwannabe.com

In both FF 2.0.0.2 and IE 7 the footer overlaps the sidebar and is not at the very bottom of the page.

Can anyone provide some insight?

Thanks in advance,

Onelessthang
Reply With Quote
  #2 (permalink)  
Old 03-01-2007, 12:19 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
You have to make the min-height of wrapper2 in main.css to a higher number.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #3 (permalink)  
Old 03-01-2007, 12:40 AM
onelessthang's Avatar
Constant Pligger
 
Join Date: Feb 2007
Location: Dallas, TX - USA
Posts: 120
Thanks: 39
Thanked 32 Times in 16 Posts
kb -

That helped. I just wonder what it would take to make it dynamic. I do not understand why it does not consider the sidebar.

Thank you for your quick response.

Onelessthang
Reply With Quote
  #4 (permalink)  
Old 03-01-2007, 06:10 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Quote:
Originally Posted by onelessthang View Post
I do not understand why it does not consider the sidebar.
Because the sidebar is positioned absolute. Use the trick i did for Mollio-Beat to have different min-heights for the different pages:

Code:
/* Better footer placement in FF */
#content-wrap1 {background: #fff;position:relative;width:100%;min-height:1200px; height:auto;} /* MB2.0 - " when not logged in */
#content-wrap2 {background: #fff;position:relative;width:100%;min-height:1050px; height:auto;}  /* MB2.0 - " when logged in */
#content-wrap3 {background: #fff;position:relative;width:100%;min-height:800px; height:auto;}  /* MB2.0 - " when logged in, no cat box */
    
/* Better footer placement in IE, copy values of content-wrap above */
* html #content-wrap1 {height: 1200px;}
* html #content-wrap2 {height: 1050px;}
* html #content-wrap3 {height: 800px;}
Don't forget to change the 3 different values in blue to your design needs.

Don't know if the yget has content-wrap1,2,3 , but you can put that in the HTML by tweaking the tpl files. Don't know which ones in yget.

EDIT: Yo
u can have content-wrap1,2,3 by changing line 95 in pligg.tpl
Code:
<div id="content-wrap2">
to this:
Code:
{if $user_authenticated ne true}<div id="content-wrap1">
{else}
    {if $cat_url neq ""}<div id="content-wrap2">
    {else}<div id="content-wrap3">
    {/if}
{/if}
Too bad the yget creator copied some CSS of MB without the logica behind it. He/she should have left the Content-wrap1 and 3 in the first place to support the 3 different page heights, not just the #2.

If i remember well you can collapse the boxes in the sidebar... that is not supported by using the content-wrap1,2,3 method.
__________________
Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com

Last edited by beatniak; 03-01-2007 at 06:24 AM.. Reason: Quickly looked into yget for the 1st time and solved it i guess. Put up the code in the post
Reply With Quote
The Following User Says Thank You to beatniak For This Useful Post:
  #5 (permalink)  
Old 03-01-2007, 10:51 AM
onelessthang's Avatar
Constant Pligger
 
Join Date: Feb 2007
Location: Dallas, TX - USA
Posts: 120
Thanks: 39
Thanked 32 Times in 16 Posts
beatniak -

Wow! Thank you so much for your post. I am still getting use pligg and this post really helped my learning curve. I more than appreciate you taking the time and giving so much detail.

Thanks,
Onelessthang
Reply With Quote
  #6 (permalink)  
Old 05-29-2008, 04:18 AM
netfreak's Avatar
Casual Pligger
 
Join Date: Dec 2006
Posts: 54
Thanks: 3
Thanked 10 Times in 3 Posts
Is there any solution to drop down the footer with sidebar, like position automatically drop towards down when selected to show more stories, but why it doesnt go down when footer size is bigger,

I have completed minimum height, but it really annoying when visiting only single story.

Any help ?

See this
__________________
Drive more traffic to your blog by submitting blog..
______________________
|| Drive more Traffic || Gadgets Watch ||
Reply With Quote
  #7 (permalink)  
Old 06-01-2008, 05:44 PM
New Pligger
Pligg Version: 9.9
Pligg Template: default
 
Join Date: Nov 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Alternative

Since the responses to this issue appear to vary.

I thought Id offer an alternate option.

Remove the horizontal rule from the footer to give the appearance that there is no actual overlap.

You can comment out in main.css (in case you dont like the result) or simply remove.

PHP Code:
.footer {
/*border-top:1px solid #E3E8EE;*/
font-size:86%;
color:#999;
margin-top:15px;
padding:10px 0 30px 15px;

Reply With Quote
  #8 (permalink)  
Old 06-01-2008, 08:22 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,367
Thanks: 169
Thanked 437 Times in 276 Posts
Actually the true response to this thread is this..

Look in the CSS for
Code:
* html #content-wrap2 {
height:850px;
}
Extend that 850px to 1050px which will match
Code:
#content-wrap2 {
background:#fff;
position:relative;
min-height:1050px;
height:auto;
margin:0 20px;
}
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
The Following User Says Thank You to chuckroast For This Useful Post:
  #9 (permalink)  
Old 09-08-2008, 07:45 PM
New Pligger
Pligg Version: 8.7
Pligg Template: standard
 
Join Date: Dec 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by chuckroast View Post
Actually the true response to this thread is this..

Look in the CSS for
Code:
* html #content-wrap2 {
height:850px;
}
Extend that 850px to 1050px which will match
Code:
#content-wrap2 {
background:#fff;
position:relative;
min-height:1050px;
height:auto;
margin:0 20px;
}
like a charm
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
footer under sidebar in home page lacasuela "yget" 10 03-28-2008 05:00 PM
Sidebar overlapping page wvccboy Template Support 1 09-10-2007 05:32 AM
How to move the sidebar to footer? PurpleCow "yget" 1 06-17-2007 08:00 AM
Recreate functionality of origianl sidebar in added sidebar trustnot "Digital Nature" 1 03-15-2007 10:15 AM
How do I make the footer sit BELOW the sidebar on all pages? littledipper Template Support 5 11-29-2006 04:54 PM


Search Engine Friendly URLs by vBSEO 3.2.0