Skip to content

Instantly share code, notes, and snippets.

@shazdeh
Created November 13, 2013 19:08
Show Gist options
  • Save shazdeh/7454541 to your computer and use it in GitHub Desktop.
Save shazdeh/7454541 to your computer and use it in GitHub Desktop.
Add a transparent overlay on top of Flatshop product backgrounds. Kudos to Christian!
.products .product:before,
.single .product-single-top:before {
content: " ";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(255,255,255,.4);
z-index: 1;
}
.list-post .summary,
.single-product .summary,
.products .product .transition-one-up,
.products .product .no-transition,
#product_single_wrapper {
z-index: 2;
position: relative;
}
#headerwrap {
z-index: 10;
}
.product-image {
z-index: 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment