From ae57a8a0a9f4cf63b15388cf922220230510098a Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Wed, 17 Feb 2010 19:05:39 +0000 Subject: [PATCH] Adding single-column, no sidebar page template to twentyten. See #9015 git-svn-id: https://develop.svn.wordpress.org/trunk@13179 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyten/onecolumn-page.php | 28 +++++++++++++++++++ wp-content/themes/twentyten/style.css | 12 +++++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 wp-content/themes/twentyten/onecolumn-page.php diff --git a/wp-content/themes/twentyten/onecolumn-page.php b/wp-content/themes/twentyten/onecolumn-page.php new file mode 100644 index 0000000000..6f134e38a0 --- /dev/null +++ b/wp-content/themes/twentyten/onecolumn-page.php @@ -0,0 +1,28 @@ + + + +
+
+ + + +
> +

+
+ + ' . __( 'Pages:', 'twentyten' ) . '&after=
'); ?> + ', '' ); ?> +
+
+ + + +
+ + + \ No newline at end of file diff --git a/wp-content/themes/twentyten/style.css b/wp-content/themes/twentyten/style.css index a9038f0ea6..14117f825b 100644 --- a/wp-content/themes/twentyten/style.css +++ b/wp-content/themes/twentyten/style.css @@ -62,7 +62,7 @@ a img { border: none; } /* -LAYOUT: Two-Column (Right) +LAYOUT: Two columns DESCRIPTION: Two-column fixed layout with one sidebar right of content */ @@ -88,6 +88,16 @@ DESCRIPTION: Two-column fixed layout with one sidebar right of content width: 100%; } +/* +LAYOUT: One column, no sidebar +DESCRIPTION: One centered column with no sidebar +*/ + +.onecolumn #content { + margin: 0 auto; + width: 640px; +} + /* =Fonts