Posted by vitok on October 20, 2010 at 11:25pm
3 followers
Jump to:
| Project: | Basic |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | vitok |
| Status: | active |
Issue Summary
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
<?php
print ' '. $zebra;
?>3) and this is a issue, that I can't find answer, any ideas?
How about include this 3 things in basic theme?
Comments
#1
First/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.
#2
Re: adding the CSS, I know I personally add that stuff into all the themes I build on Basic anyway. I say go for it.