Skip to content

Instantly share code, notes, and snippets.

@bennettscience
Created September 22, 2015 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennettscience/8aed1787087ea48b9a1f to your computer and use it in GitHub Desktop.
Save bennettscience/8aed1787087ea48b9a1f to your computer and use it in GitHub Desktop.
CSS styles for zachcresswell.org landing page
/* Copy this CSS into the CSS Editor from the wp-admin dashboard */
#main {
display: block;
float: left;
margin: 0 auto;
width: 100%;
}
/* Modify only the style of the landing page post ID */
#post-1301 .entry-content {
overflow: hidden;
padding: 15px;
display: table;
width: 100%;
}
/* Display the images as cells in a table to space horizontally evenly */
#post-1301 .entry-content p,a {
display: table-cell;
padding: 15px;
margin: 0 auto;
width: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment