While designing Pink Stitches I wanted to change the post font size only. Not the date font size or anything else tied into that code. So, I modified the code from this series of posts:
The following instructions will allow you to change the size of the post text only. Open your Dashboard | Template | Edit HTML. Look for the /* Variable definitions section. Add this code to that section:
<Variable name="postfont" description="Post Font" type="font" default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 113% Verdana, sans-serif"></variable>Next find the post section of the CSS style sheet.
.post {Add this line to it:
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
}
.post {Save your template. Once again go back to your Dashboard | Template | Fonts and Colors. There will be a new listing in the scroll box called Post Font. Now changes can be made to the post font with only a click!
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
font: $postfont;
}
No comments:
Post a Comment