Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

_s: adding sample layouts for two sidebars on the right of a content …

…column and two sidebars on the left of a content column
  • Loading branch information...
commit dc2aacb56da1d2f543a4b16afa6b74aff2d44c15 1 parent b17f228
Ian Stewart ianstewart authored
27 layouts/content-sidebar-sidebar.css
View
@@ -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%;
+}
22 layouts/sidebar-sidebar-content.css
View
@@ -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%;
+}
2  sidebar.php
View
@@ -31,4 +31,4 @@
</aside>
<?php endif; // end sidebar widget area ?>
- </div><!-- #secondary .widget-area -->
+ </div><!-- #secondary .widget-area -->
Please sign in to comment.
Something went wrong with that request. Please try again.