CyberAP Well-known member Mar 20, 2011 #1 Tried to do this via height: 100% to html and body, min-height: 100% to footer but page is getting too big. Please, how can I do this?
Tried to do this via height: 100% to html and body, min-height: 100% to footer but page is getting too big. Please, how can I do this?
Jake Bunce Well-known member Mar 20, 2011 #2 Hmm. I'm not sure I understand. But try this: Admin CP -> Appearance -> Templates -> EXTRA.css Code: .footer { position: absolute; bottom: 0px; } or this: Code: .footer { position: fixed; bottom: 0px; } This will stick the footer to the bottom of the browser window, but it causes weirdness on long pages. It's hard to screenshot this. Try it out. Upvote 0 Downvote
Hmm. I'm not sure I understand. But try this: Admin CP -> Appearance -> Templates -> EXTRA.css Code: .footer { position: absolute; bottom: 0px; } or this: Code: .footer { position: fixed; bottom: 0px; } This will stick the footer to the bottom of the browser window, but it causes weirdness on long pages. It's hard to screenshot this. Try it out.
CyberAP Well-known member Mar 20, 2011 #3 I understand what you're suggesting. Your code will place footer at the bottom, but I want footer to have a height that will cover all the space after content. Anyway thanks for the suggestion! Upvote 0 Downvote
I understand what you're suggesting. Your code will place footer at the bottom, but I want footer to have a height that will cover all the space after content. Anyway thanks for the suggestion!
CyberAP Well-known member Mar 21, 2011 #4 Got the example: Here is what I have And here is what I want to have Upvote 0 Downvote
Jake Bunce Well-known member Mar 21, 2011 #5 Admin CP -> Appearance -> Style Properties -> General You can set different backgrounds for HTML and Body. The HTML background will cover the entire bottom, while Body will cover the top area. Upvote 0 Downvote
Admin CP -> Appearance -> Style Properties -> General You can set different backgrounds for HTML and Body. The HTML background will cover the entire bottom, while Body will cover the top area.
CyberAP Well-known member Mar 22, 2011 #6 The problem is that I want my background start from footer area Upvote 0 Downvote
Jake Bunce Well-known member Mar 22, 2011 #7 In addition to the color changes in my last post, try adding this to EXTRA.css: Code: .footer, .footer .pageContent, .footerLegal { background-color: @html.background-color !important; } Upvote 0 Downvote
In addition to the color changes in my last post, try adding this to EXTRA.css: Code: .footer, .footer .pageContent, .footerLegal { background-color: @html.background-color !important; }