From dc2aacb56da1d2f543a4b16afa6b74aff2d44c15 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Mon, 23 Jan 2012 17:59:27 +0000 Subject: [PATCH] _s: adding sample layouts for two sidebars on the right of a content column and two sidebars on the left of a content column --- layouts/content-sidebar-sidebar.css | 27 +++++++++++++++++++++++++++ layouts/sidebar-sidebar-content.css | 22 ++++++++++++++++++++++ sidebar.php | 2 +- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 layouts/content-sidebar-sidebar.css create mode 100644 layouts/sidebar-sidebar-content.css diff --git a/layouts/content-sidebar-sidebar.css b/layouts/content-sidebar-sidebar.css new file mode 100644 index 00000000..9c8a4d53 --- /dev/null +++ b/layouts/content-sidebar-sidebar.css @@ -0,0 +1,27 @@ +/* +Theme Name: _s +Layout: Content-Sidebar-Sidebar +*/ + +#primary { + float: left; + width: 100%; +} +#content { + margin: 0 40% 0 0; +} +#main .widget-area { + float: left; + overflow: hidden; + width: 20%; +} +#secondary { /* Sidebar 1 */ + margin: 0 0 0 -40%; +} +#tertiary { /* Sidebar 2 */ + margin: 0 0 0 -20%; +} +#colophon { + clear: both; + width: 100%; +} diff --git a/layouts/sidebar-sidebar-content.css b/layouts/sidebar-sidebar-content.css new file mode 100644 index 00000000..eef7d7df --- /dev/null +++ b/layouts/sidebar-sidebar-content.css @@ -0,0 +1,22 @@ +/* +Theme Name: _s +Layout: Sidebar-Sidebar-Content +*/ + +#primary { + float: right; + margin: 0 0 0 -40%; + width: 100%; +} +#content { + margin: 0 0 0 40%; +} +#main .widget-area { + float: left; + overflow: hidden; + width: 20%; +} +#colophon { + clear: both; + width: 100%; +} \ No newline at end of file diff --git a/sidebar.php b/sidebar.php index 83d82ab6..80055980 100644 --- a/sidebar.php +++ b/sidebar.php @@ -31,4 +31,4 @@ - \ No newline at end of file +