Archived topic
button for AMP Pages
3 replies · Started by tomo on May 23, 2021
hi,Im setting up with the plugin AMP and my buttons dont work when it comes to amp.
thia is the css I used.
.color-button01-big a{
display: block;
padding: 1em 1em;
margin: 0 auto;
width:45%;
background: #ffcd44;/
color: #ffffff !important;
border-bottom: solid 4px #B28F30;
border-radius: 15px;
text-decoration: none !important;
font-size: 100%;
text-align: center;
}
.color-button01-big a:hover {
background: #F1C40F;/
}
.color-button01-big:active {
-webkit-transform: translateY(4px);
transform: translateY(4px);/
border-bottom: none;/
}
How can I get this css work on Amp pages?
Hi there,
how have you set up AMP ? Most of the plugins offer three modes - try using the Transient option.
Thanks. Its all good now!
Glad to hear that