How to Customize and Theme Post and Date info in Drupal


Author Message
scampbell70

Posted: 1/11/2012
Quote message 

I am using drupal7 and I am trying to create the post and date info as described in this article http://highrockmedia.com/blog/how-customize-and-theme-post-and-date-info-drupal I can get it to display Dec 27 2012 for the date but I cant figure out how to make it look like it does in the post, can anyone please help me. I opened a support ticket and while they were wonderful at trying to fix the problem after over a week of going chatting back and forth with support I am no closer to an answer then I was two weeks ago.
 
scampbell70

Posted: 1/11/2012
Quote message 

I switched to adaptive themes and was able to figure most of it out in only a few minutes. I am sure the code can be adapted to artisteer and may try to do that later. The CSS thats not in the article is

div.dateblock {
background: none repeat scroll 0 0 #F3F3F3;
border-color: #EEEEEE #BBBBBB #BBBBBB #EEEEEE;
border-style: solid;
border-width: 1px;
color: #999999;
float: left;
font-family: Georgia,Arial,Verdana,sans;
line-height: 1;
margin: 6px 10px 0 8px;
text-align: center;
width: 40px;
}
div.dateblock footer {
display: block;
text-align: center;
}
div.dateblock footer.month {
background-color: #B5BEBE;
color: white;
font-size: 0.9em;
padding: 2px;
text-transform: uppercase;
}
div.dateblock footer.day {
font-size: 2em;
font-weight: bold;
}
div.dateblock footer.year {
font-size: 0.9em;
padding: 2px;
}