Button Icon error when 2 text-lines

Hi there,

working on this site (https://svh.924.myftpupload.com) I get an error on the "mobile" buttons. On desktop the icon is (where it belongs) right after (right of) the text. On mobile, with the text in two lines, it appears at the end of the first line, instead of at the end of the text in the secont line.

Could you help me solve this please?

Best regards,

Daniel

Comments

  • Hi,

    Please, put the following CSS code in Betheme -> Theme options -> Custom CSS & JS -> CSS, and check if the display is what you wanted.

    @media only screen and (max-width: 544px){
       .mcb-item-mr51fxlx3 .button .button_icon{
       margin-top: 15px;
     }
    }
    

    Thanks

  • Hi Phil,

    thanks for your quick response – this only applied to the first button, but changing the selector did the job.


    @media only screen and (max-width: 528px){

       .button_right .button_icon {

        margin-top: 10px;

       }

    }


    So, mission accomplished.

    Best regards,


    Daniel

Sign In or Register to comment.