Closed (works as designed)
Project:
Basic
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Oct 2010 at 23:25 UTC
Updated:
24 Jan 2014 at 21:32 UTC
Jump to comment: Most recent
At first I would like to say thanks for the best framework theme, but I think it missing 3 things to be better:
1) footer at the bottom of browser window when the content too small
2) zebra classes for teaser list of nodes
3) first last classes for teaser list of nodes
Solutions:
1) need to edit layout.css
html, body {height: 100%;} /* allow the #page to be 100% height */
#page {
width: 100%;
min-width: 980px;
max-width: 1200px;
margin: 0 auto;
position:relative; /* make #page always 100% height of content or a browser window */
min-height:100%;
height:auto !important;
height:100%;
}
div#main {
padding-bottom: 210px; /* height of footer + indent in 10px */
}
#footer {
float: none;
clear: both;
position: absolute; /* make footer position at the bottom of #page */
bottom: 0;
height: 200px;
width: 100%;
}
2) this is easy, just add print ' '. $zebra; to the classes of first div in the node.tpl.php
3) and this is a issue, that I can't find answer, any ideas?
How about include this 3 things in basic theme?
Comments
Comment #1
damiankloip commentedFirst/last classes on blocks and nodes has been committed into the dev branch. Can have a look at adding zebra classes already. Not sure about the css changes as we have now started work on the 3.x branch.
Comment #2
CatherineOmega commentedRe: adding the CSS, I know I personally add that stuff into all the themes I build on Basic anyway. I say go for it.
Comment #3
lil.destro commentedClosing this issue, the zebra and first/last classes have been added but not the changes to the footer. The footer changes are a little to specific, most users will be overriding the css to suit their design anyways.