Last active
May 23, 2025 14:56
-
-
Save odessy/9aee1bd3372b9cb0a8ed6df03828c902 to your computer and use it in GitHub Desktop.
Klaviyo button fix 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.klaviyo-bis-trigger { | |
background-color: var(--COLOR-PRIMARY); | |
border: 1px solid var(--COLOR-PRIMARY); | |
color: var(--COLOR-PRIMARY-OPPOSITE); | |
font-style: var(--FONT-STYLE-ACCENT); | |
text-transform: uppercase; | |
font-weight: var(--FONT-WEIGHT-ACCENT-BOLD); | |
font-style: calc(var(--font-3)*var(--FONT-ADJUST-ACCENT)); | |
font-family: Sohne Breit,helvetica,sans-serif; | |
letter-spacing: .24em; | |
padding: .8rem 1.6rem; | |
vertical-align: middle; | |
text-align: center; | |
display: inline-block; | |
margin-top: 20px!important; | |
cursor: pointer; | |
min-height: 54px!important; | |
width: 100%!important; | |
transition: background-color .5s cubic-bezier(.215,.61,.355,1) | |
} | |
a.klaviyo-bis-trigger:hover { | |
background-color: var(--COLOR-PRIMARY-HOVER); | |
border: 1px solid var(--COLOR-PRIMARY-HOVER); | |
transition: background-color .5s cubic-bezier(.215,.61,.355,1) | |
} | |
#klaviyo-bis-modal #container p { | |
color: red | |
} | |
[data-product-form]:has(.variant--soldout) .klaviyo-bis-trigger{ | |
display: flex !important; | |
} | |
[data-product-form]:not(:has(.variant--soldout)) .klaviyo-bis-trigger { | |
display: none!important | |
} | |
[data-product-form]:has(.variant--soldout) .product__submit__quick { | |
display: none | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment