Hello,
Example page: http://mobiilikasinot.net/arvostelut/casinofloor/
Im trying to get Maxbuttons (the green button in the yellow box) to show better on smaller screen sizes. I added this code to custom.css:
@media only screen and (max-width: 767px) {
a[class^=”maxbutton-“] .maxbutton {
height: auto !important;
}
a[class^=”maxbutton-“] .maxbutton .mb-text {
line-height: 1.2em !important;
}
a[class^=”maxbutton-“] .maxbutton .mb-text2 {
line-height: 1.5em !important;
}
}
That has worked previously on different theme, but now the button is cut in the middle. Am I doing something wrong?
Thanks for the help!
Hey!
Try adding this code to the Quick CSS:
#main .maxbutton {
max-width: 500px !important;
width: 100% !important;
}
Cheers!
Josue
Hi,
Thanks for the answer. That didnt work though.
Sorry, it works but it lefts out the second line of text from the button on mobile. How to get that line inside the button, as well?
Hi!
Add this too:
@media only screen and (max-width: 989px) {
#main .maxbutton {
min-height: 90px !important;
}
}
Please note that offering fixes for third-party plugins is out of the support scope.
Cheers!
Josue
Thank you very much! I appreciate very much that you did this even if not related to Enfold. :) Buttons look good now.
You are welcome, glad we could help :)
Regards,
Josue