Skip to content

Instantly share code, notes, and snippets.

@brokeyourbike
Last active February 15, 2020 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brokeyourbike/3e5248413b2273235de9f2a155274288 to your computer and use it in GitHub Desktop.
Save brokeyourbike/3e5248413b2273235de9f2a155274288 to your computer and use it in GitHub Desktop.
honestysales.com journal3 overwrite
$(function() {
var add_to_c_section = $('.route-product-product:not(.popup) .product-info .product-details .button-group-page ');
if (add_to_c_section.length == 1) {
$('head').append("<style>@media screen and (max-width: 760px) {html.route-product-product iframe.zEWidget-launcher {bottom: "+add_to_c_section.height()+"px !important;}</style>");
}
});
.input-captcha {
color: #fff;
label {
color: inherit;
}
}
@media screen and (max-width: 760px) {
html {
&.route-product-product {
iframe {
&.zEWidget-launcher {
bottom: 40px !important;
}
}
}
}
.route-product-product {
&:not(.popup) {
.product-info {
.product-details {
.button-group-page {
padding: 5px 10px 0;
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment