Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
|
||
get_header(); | ||
get_template_part( 'menu', 'index' ); //the menu + logo/site title ?> | ||
|
||
<div class="two-thirds column"> | ||
<?php if ( have_posts() ) : ?> | ||
<h2 class="page-title"><?php printf( __( 'Search Results for: %s', 'mb' ), '<span>' . get_search_query() . '</span>' ); ?></h2> | ||
|
||
<?php | ||
/* Run the loop for the search to output the results. | ||
* If you want to overload this in a child theme then include a file | ||
* called loop-search.php and that will be used instead. | ||
*/ | ||
get_template_part( 'loop', 'search' ); | ||
?> | ||
|
||
<?php else : ?> | ||
<div id="post-0" class="post no-results not-found"> | ||
<h2 class="entry-title"><?php _e( 'Nothing Found', 'mb' ); ?></h2> | ||
<div class="entry-content"> | ||
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p> | ||
<?php get_search_form(); ?> | ||
</div><!-- .entry-content --> | ||
</div><!-- #post-0 --> | ||
<?php endif; ?> | ||
|
||
</div> | ||
|
||
<?php get_template_part( 'sidebar', 'index' ); //the Sidebar ?> | ||
<?php get_footer(); ?> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Use it to make something cool, have fun, and share what you've learned with othe | |
================================================== */ | ||
|
||
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; } | ||
.column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; } | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
wycks
Author
Owner
|
||
.column, .columns { float: left; display: inline;} | ||
.row { margin-bottom: 20px; } | ||
|
||
/* Nested Column Classes */ | ||
|
@@ -72,6 +72,13 @@ Use it to make something cool, have fun, and share what you've learned with othe | |
.container .offset-by-fifteen { padding-left: 900px; } | ||
|
||
|
||
/* wordpress sidebar*/ | ||
.one-third.column{ | ||
margin-left: 40px; | ||
} | ||
|
||
/* wordpress menu*/ | ||
.header .seven.columns {margin-right: 30px;} | ||
|
||
/* #Tablet (Portrait) | ||
================================================== */ | ||
|
@@ -80,8 +87,7 @@ Use it to make something cool, have fun, and share what you've learned with othe | |
|
||
@media only screen and (min-width: 768px) and (max-width: 959px) { | ||
.container { width: 768px; } | ||
.container .column, | ||
.container .columns { margin-left: 10px; margin-right: 10px; } | ||
|
||
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; } | ||
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; } | ||
|
||
|
@@ -121,8 +127,16 @@ Use it to make something cool, have fun, and share what you've learned with othe | |
.container .offset-by-thirteen { padding-left: 624px; } | ||
.container .offset-by-fourteen { padding-left: 672px; } | ||
.container .offset-by-fifteen { padding-left: 720px; } | ||
|
||
/* wordpress sidebar*/ | ||
.one-third.column{ | ||
margin-left: 20px; | ||
margin-right: -10px; | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
/* #Mobile (Portrait) | ||
================================================== */ | ||
|
@@ -169,10 +183,12 @@ Use it to make something cool, have fun, and share what you've learned with othe | |
.container .offset-by-fourteen, | ||
.container .offset-by-fifteen { padding-left: 0; } | ||
|
||
/* Float menu left now*/ | ||
/* Float wordpress menu left now*/ | ||
|
||
.menu ul {float:left;} | ||
|
||
|
||
/* wordpress sidebar*/ | ||
.one-third.column{margin-left: 0px;} | ||
} | ||
|
||
|
||
|
@@ -204,10 +220,14 @@ Use it to make something cool, have fun, and share what you've learned with othe | |
.container .one-third.column, | ||
.container .two-thirds.column { width: 420px; } | ||
|
||
/* Float menu left now*/ | ||
/* Float wordpress menu left now*/ | ||
|
||
.menu ul {float:left;} | ||
} | ||
|
||
/* wordpress sidebar*/ | ||
.one-third.column{margin-left: 0px;} | ||
|
||
} | ||
|
||
|
||
/* #Clearing | ||
|
Hi Wycks,
why have you removed the margins of the columns classes ?
From what I see, it cause the columns to be left aligned wheareas they should be ~centered in the container.
( http://960.gs/demo.html )
sincerely