Categories
blog ecommerce Storefront WooCommerce wordpress

WooCommerce Storefront Child Theme: Remove Sidebar @ Single Product Page

Hide the sidebar on product pages of Woocommerce Storefront child theme. The following snippet disables the sidebar with no additional CSS required, whilst still making the product page content area 100% wide.

/**
 * Disable sidebar on product pages in Storefront.
 *
 * @param bool $is_active_sidebar
 * @param int|string $index
 *
 * @return bool
 */
function product_remove_sidebar( $is_active_sidebar, $index ) {
	if( $index !== "sidebar-1" ) {
		return $is_active_sidebar;
	}
if( ! is_product() ) {
return $is_active_sidebar;
}

return false;
}

add_filter( 'is_active_sidebar', product_remove_sidebar', 10, 2 );

 

code to the functions.php file in your Storefront child theme.

Categories
blog shopify

shopify supply scss media

#bookmark #shopify #scss #supply
desktop only – @include at-query ($min, $medium)
tablet and mobile – @include at-query ($max, $medium)
mobile only – @include at-query($max, $small)

Categories
bigcommerce bigmadness blog offer Theme

Bigmadness.com Xmas Fever 50% off Code: big50off

https://twitter.com/officialstupid/status/676987514045997056

 

Categories
bigcommerce blog ecommerce Theme

bigcommercewizard bigcommerce themes membership

Categories
blog Design ecommerce magento mobile New Theme

sumnima her (lingerie & bikini) magento theme dark layout

Categories
blog Design Elementary OS gtk+ Linux Theme

Elementry OS Theme Design – Day 1

3 hrs found just some css that really matter to me.

gtk.css

@define-color colorPrimary #fff;

 

gtk-widgets.css

/*******
* CSD *
******/

.titlebar {
background-image: linear-gradient(to bottom,
shade (@colorPrimary, 0.95),
shade (@colorPrimary, 0.95)
);
border-color: shade (@colorPrimary, 0.56);
border-radius: 4px 4px 0 0;
border-style: solid;
border-width: 0 0 1px;

text-shadow: 0 1px alpha (shade (@colorPrimary, 1.4), 0.40);
icon-shadow: 0 1px alpha (shade (@colorPrimary, 1.4), 0.40);

box-shadow: inset 0 0 0 1px alpha (shade (@colorPrimary, 1.4), 0.20),
inset 0 1px 0 0 alpha (shade (@colorPrimary, 1.4), 0.60);

padding: 0 3px;
}

.titlebar:backdrop {
background-image: linear-gradient(to bottom,
shade (@colorPrimary, 0.96),
shade (@colorPrimary, 0.96)
);
background-color: shade (@colorPrimary, 1.10);
border-color: shade (@colorPrimary, 0.64);

box-shadow: inset 0 0 0 1px alpha (shade (@colorPrimary, 1.4), 0.40);

-gtk-image-effect: dim;
}