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