By default blogspot date header is very dull looking and simple.I got the inspiration to style and design blogspot date header display from a wordpress website and tried with very simple css adjustment,it worked nicely.
I wanted blogspot date header be float left side of webpage and be partially out of the structure like a banner with colorful appearance.Instead of its position above the post title.
How to style the blogspot date header
- The main adjustment is done by negative margin.
 - Then the width is important,as it tends to take the whole area.
 - Background and text color.
 
1.Blogspot date header without design
2.Blogspot date header with design
3.Apply a simple CSS to style blogspot date header
- Open edit html of blogspot template.
 - Backup template.
 - Look for date.header,press ctrl+f and find.
 - Add some simple css with existing code.Colored red below.
 - Watch the preview.
 - Adjust width if you use different date option.
 
h2.date-header 
{
display:block;
font-weight:normal;
font: $(widget.title.font);
color:white;
border:none;
font-size:1em;
background:red;
margin-left:-70px;
padding:3px 3px 3px 3px;
width:40px;
word-wrap:break-word;
float:left;
}
{
display:block;
font-weight:normal;
font: $(widget.title.font);
color:white;
border:none;
font-size:1em;
background:red;
margin-left:-70px;
padding:3px 3px 3px 3px;
width:40px;
word-wrap:break-word;
float:left;
}



Nice job. Great work around for the date header. Thanks for sharing it.
ReplyDeleteLike your work..very nice keep doing good work.Web Portal Development
ReplyDeleteVery nice..thanks for sharing.Web Portal
ReplyDelete