full product page width
This commit is contained in:
parent
13b0e7bb8d
commit
ddf16c1297
3
assets/css/st-product.css
Normal file
3
assets/css/st-product.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.content-area {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
@ -19,3 +19,12 @@ add_action('wp_enqueue_scripts', 'slowtwitch_register_styles_scripts');
|
|||||||
function slowtwitch_register_styles_scripts() {
|
function slowtwitch_register_styles_scripts() {
|
||||||
wp_enqueue_style( 'roboto font', 'https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap' );
|
wp_enqueue_style( 'roboto font', 'https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_action( 'get_header', 'bbloomer_remove_storefront_sidebar' );
|
||||||
|
|
||||||
|
function bbloomer_remove_storefront_sidebar() {
|
||||||
|
if ( is_product() ) {
|
||||||
|
remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 );
|
||||||
|
wp_enqueue_style( 'grand-sunrise-style', get_theme_file_uri('/assets/css/st-product.css'));
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user