Skip to content

Instantly share code, notes, and snippets.

@MomokoSanchez
MomokoSanchez / large-mobile-hero.css
Created January 6, 2022 21:07
Fraser Hill Farm | Increase mobile hero image
@media screen and (max-width: 767px) {
.heroCarousel-slide .heroCarousel-image-wrapper {
max-height : 70vh;
height : 70vh;
position : absolute;
z-index : -2;
}
.heroCarousel-slide .heroCarousel-image-wrapper img {
max-height : 70vh;
@MomokoSanchez
MomokoSanchez / Fraser Hill Farm | CSS for main page category section
Created December 3, 2021 01:10
Fraser Hill Farm | CSS for main page category section
@media screen and (max-width: 767px) {
.h-pre-assembled .container {
height : 100%;
background : rgba(72, 45, 29, 0.55);
align-items : center;
}
.h-pre-assembled .button {
border : 2px solid rgb(173, 128, 102);
color : rgb(173, 128, 102);
@MomokoSanchez
MomokoSanchez / in-stock-banner.html
Last active August 11, 2021 10:12
Hanover - In Stock Banner - A/B test
<!-- old version: -->
<!-- to find this in the code, search for: "design-layer-editable" -->
<div class="design-layer-editable" style="opacity:1;border-style:undefined;padding:0px;border-radius:1px;box-shadow:0px 0px 8px 0px rgba(50, 50, 50, 0.75);border-width:0px;border-color:rgba(255,255,255,1);background-image:-moz-linear-gradient(top, rgba(84,85,82,1), rgba(55,58,54,1));background-image:linear-gradient(to top, rgba(84,85,82,1), rgba(55,58,54,1));background-image:-webkit-linear-gradient(top, rgba(84,85,82,1), rgba(55,58,54,1));background-image:-ms-linear-gradient(top, rgba(84,85,82,1), rgba(55,58,54,1));background-image:-o-linear-gradient(top, rgba(84,85,82,1), rgba(55,58,54,1));filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ff545552', endColorstr='#ff373a36');background-repeat:no-repeat;background-position:center center;background-size: 100% 100%;" data-position="9" data-opacity="1" data-direction="to top" data-overlay_opacity="1" data-push="push" data-effect="none" data
@MomokoSanchez
MomokoSanchez / In-Stock-Link.html
Last active August 11, 2021 10:06
Hanover - In-Stock Link for A/B test