Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 14, 2015 19:59
Show Gist options
  • Save braddalton/5140341 to your computer and use it in GitHub Desktop.
Save braddalton/5140341 to your computer and use it in GitHub Desktop.
This CSS code has been copied from the child themes style.css file and modified by changing the home class to custom class for use as a custom page template with widgets like the home page of the Magazine child theme for Genesis.
/* Custom Page Template With Widgets
------------------------------------------------------------ */
.custom-bottom,
.custom-middle,
.custom-top {
clear: both;
font-size: 13px;
line-height: 20px;
margin: 0 0 20px;
overflow: hidden;
width: 610px;
}
.custom-bottom {
margin: 0;
}
.custom-left {
float: left;
width: 290px;
}
.custom-right {
float: right;
width: 290px;
}
.custom h2 a,
.custom h2 a:visited {
font-size: 20px;
line-height: 24px;
}
.custom-middle h2 a,
.custom-middle h2 a:visited {
font-size: 16px;
line-height: 20px;
}
.custom-bottom h4,
.custom-middle h4 {
margin: 0 0 10px;
}
.custom-middle .featuredpost img {
margin: 0 0 10px;
}
.custom-middle .widget ul li {
background: url(images/list.png) no-repeat top left;
border-bottom: 1px dotted #ddd;
list-style-type: none;
margin: 0 0 7px;
padding: 0 0 5px 18px;
word-wrap: break-word;
}
.custom .featuredpost p {
font-size: 13px;
line-height: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment