Hi Jon,
thank you for your reply.
Unfortunately it didnt work. I added my CSS Settings here, maybe this will help you.
Also: is there any chance to change the font? I sent the HubSpot button code to our website hoster, he can change the rounding of the button and change what happens when hovering over it.
As the code is more of an “Image”, he is not able to change the “inner” components of the button such as font, text etc. Can that be changed somehow?
Thanks for your time!
The CSS Code:
<style>
.bt_bb_button {
margin-right: 1.25rem;
margin-left: 0;
font-weight: 700;
font-size: 1.25em;
display: inline-block;
}
.bt_bb_button a ,
.bt_bb_button a:hover {
box-shadow: 0 3px 10px rgba(24,24,24,.3);
background-color: #181818;
color: #ffffff;
}
.bt_bb_button a:hover {
text-shadow: 0 1px 2px rgba(24,24,24,.3);
background: #323232 !important;
}
.bt_bb_button .bt_bb_button_text {
font-family: Dosis;
}
.bt_bb_button a {
border-radius: 50px;
padding: 1.25em 2.1875em;
text-decoration: none;
position: relative;
overflow: hidden;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: flex-start;
-ms-flex-line-pack: start;
align-content: flex-start;
text-decoration: none;
-webkit-box-shadow: none;
box-shadow: none;
padding: 1em 3em;
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
transition: all 300ms ease;
}
.bt_bb_button a:before
{
display: block;
content: “”;
top: 0;
bottom: 0;
position: absolute;
width: 50px;
left: -60px;
-webkit-transform: skewX(-20deg);
-moz-transform: skewX(-20deg);
-ms-transform: skewX(-20deg);
transform: skewX(-20deg);
-webkit-transition: 350ms ease all;
-moz-transition: 350ms ease all;
transition: 350ms ease all;
background: -moz-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
background: -moz-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
background: linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
-webkit-transition: 0ms ease all;
-moz-transition: 0ms ease all;
transition: 0ms ease all;
opacity: .5;
}
.bt_bb_button a:hover:before {
left: 110%;
-webkit-transition: 800ms ease all;
-moz-transition: 800ms ease all;
transition: 800ms ease all;
opacity: .2;
}
</style>
“Erweitere Optionen” means advanced Options.