Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #255060

    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!

    #255330

    Hey!

    Try adding this code to the Quick CSS:

    #main .maxbutton {
        max-width: 500px !important;
        width: 100% !important;
    }
    

    Cheers! 
    Josue

    #255660

    Hi,

    Thanks for the answer. That didnt work though.

    #255665

    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?

    #255715

    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

    #256036

    Thank you very much! I appreciate very much that you did this even if not related to Enfold. :) Buttons look good now.

    #256288

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Maxbuttons on Enfold’ is closed to new replies.