AMP TOP STICKY CSS STYLES
This is a version of the CSS styles to test on the site, please let us know if the plugin “sanitizes” it.
+ Insert the following CSS styles in your tag <style amp-custom> on the AMP page:
#cl-top-sticky {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100px;
z-index: 2147483600;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
background-color: #fff;
}
.cl-ts-hidden {
display: none;
}
.cl-ts-visible {
display: block;
}
.cl-ts-close-button {
position: absolute;
bottom: -28px;
width: 28px;
height: 28px;
right: 0;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMzQxIDggMTMgMTMiPjxwYXRoIGZpbGw9IiMzMzMzMzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTM1NCA5LjMxIDM1Mi42OSA4bC01LjE5IDUuMTlMMzQyLjMxIDggMzQxIDkuMzFsNS4xOSA1LjE5LTUuMTkgNS4xOSAxLjMxIDEuMzEgNS4xOS01LjE5IDUuMTkgNS4xOSAxLjMxLTEuMzEtNS4xOS01LjE5eiIvPjwvc3ZnPg==");
background-size: 13px 13px;
background-position: 9px;
background-color: #fff;
background-repeat: no-repeat;
box-shadow: -1px 2px 1px 0 rgba(0, 0, 0, 0.2);
border: none;
border-radius: 0 0 0 12px;
}
#clickio-ts-list:has(#clickio-ts-creative[height="100"][width="0"]) {
display: none;
}
#clickio-ts-list:has(#clickio-ts-creative[style*="width:"][style*="0px"]) {
display: none;
}
#clickio-ts-list {
height: 100px;
}
aside.m-ctr {
z-index: 2147483646;
}
label.fsc {
z-index: 2147483640;
}
Comments