Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #485003

    Hello,
    I am hoping someone can help me with this! I am having a problem with two buttons aligning. If I use 4 columns with only buttons in the two inner columns, they align properly on desktop (mac) but when I view on iPad or iPhone they are out of alignment by quite a bit.

    I read a solution here to use 2 1/2 columns instead of 4 so I have done that only on the front page as a test. They still do not line up on a mobile device. I really need these to align on both desktop and mobile! Any help would be greatly appreciated. It is currently a demo site but is expected to go live soon.

    thanks

    #485268

    Hey Karen!

    about which buttons are you talking about? the “PLAY” and “READ” button? seems to be aligned well on iPad for me. Can you show us screenshots of how you want it to look like? use imgur.com or dropbox.

    Best regards,
    Andy

    #485555

    Hi Andy,
    Thanks for responding. Yes, it is the play and read buttons. I have managed to get the alignment correct on the iPad but still having trouble with the mobile device. On the mobile I would like the two buttons to sit neatly under one another. This is what I anticipated it would do, but they don’t.
    I have attached a screenshot for you as they currently appear on the iPhone.

    #485767

    Hi,

    Please try the following in Quick CSS under Enfold–>General Styling:

    @media only screen and (max-width: 767px) {
    .avia-button.avia-position-right, .avia-button.avia-position-left {
    float:none !important;
    }
    }

    Regards,
    Rikard

    #486128

    Hi,
    I added the suggested quick css. Unfortunately it has had no effect. Any other suggestions would be greatly appreciated.

    Kind Regards

    #486270

    Hey!

    Please use then hard refresh the page:

    @media only screen and (max-width: 767px) {
    #av_section_1 .flex_column.av_one_half.flex_column_div.av-zero-column-padding.first.avia-builder-el-3.el_after_av_heading.el_before_av_one_half, #av_section_1 .flex_column.av_one_half.flex_column_div.av-zero-column-padding.avia-builder-el-5.el_after_av_one_half.avia-builder-el-last {
        float: left;
        width: 48% !important;
        clear: none;
    }
    }

    Best regards,
    Ismael

    #486738

    That did the trick! I also added some padding to separate the two buttons slightly, as they blended together and looked like one button.
    Thanks so much for your help!

    Kind Regards

    #487010

    Hi,

    Glad we could help :-)

    Regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Buttons not aligning on mobile device or ipad’ is closed to new replies.