twentythirteen bits
This commit is contained in:
parent
d08b1679c8
commit
aebcf3ded6
|
@ -171,7 +171,7 @@ function woocommerce_admin_notices_styles() {
|
|||
|
||||
$template = get_option( 'template' );
|
||||
|
||||
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( $template, array( 'twentyeleven', 'twentytwelve', 'twentyten' ) ) ) {
|
||||
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( $template, array( 'twentythirteen', 'twentyeleven', 'twentytwelve', 'twentyten' ) ) ) {
|
||||
|
||||
if ( ! empty( $_GET['hide_woocommerce_theme_support_check'] ) ) {
|
||||
update_option( 'woocommerce_theme_support_check', $template );
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -544,6 +544,7 @@ p.demo_store {
|
|||
ul {
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
padding:0;
|
||||
clear: both;
|
||||
border: 1px solid darken( @secondary, 10 );
|
||||
border-right: 0;
|
||||
|
@ -1758,6 +1759,16 @@ p.demo_store {
|
|||
}
|
||||
}
|
||||
} // end .woocommerce-page namespacing wrap
|
||||
|
||||
|
||||
/* =Twenty Thirteen Specific styles
|
||||
-------------------------------------------------------------- */
|
||||
.twentythirteen {
|
||||
.entry-summary {
|
||||
padding:0;
|
||||
}
|
||||
}
|
||||
|
||||
@media
|
||||
(-webkit-min-device-pixel-ratio: 2),
|
||||
(min-resolution: 192dpi) {
|
||||
|
|
|
@ -18,6 +18,9 @@ switch( $template ) {
|
|||
case 'twentytwelve' :
|
||||
echo '<div id="primary" class="site-content"><div id="content" role="main">';
|
||||
break;
|
||||
case 'twentythirteen' :
|
||||
echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
|
||||
break;
|
||||
default :
|
||||
echo '<div id="container"><div id="content" role="main">';
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue