Fixes the layout on shop pages when using Twenty Eleven. closes #10665
This commit is contained in:
parent
2b20a5cbc1
commit
ba009c6fc5
File diff suppressed because one or more lines are too long
|
@ -329,6 +329,27 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Twenty Eleven specific styles
|
||||
*/
|
||||
.woocommerce-page {
|
||||
&.left-sidebar {
|
||||
#content.twentyeleven {
|
||||
width: 58.4%;
|
||||
margin: 0 7.6%;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
&.right-sidebar {
|
||||
#content.twentyeleven {
|
||||
margin: 0 7.6%;
|
||||
width: 58.4%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Twenty Fourteen specific styles
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,9 @@ $template = get_option( 'template' );
|
|||
|
||||
switch( $template ) {
|
||||
case 'twentyeleven' :
|
||||
echo '</div></div>';
|
||||
echo '</div>';
|
||||
get_sidebar( 'shop' );
|
||||
echo '</div>';
|
||||
break;
|
||||
case 'twentytwelve' :
|
||||
echo '</div></div>';
|
||||
|
|
Loading…
Reference in New Issue