Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1353343

    Hi,

    Can you tell me why on mobile, a row of buttons do not align centrally?

    You can see the blue buttons on the link below

    #1353352

    Hey amyteslin,

    I’m not sure which buttons you are referring to, could you post a screenshot of the problem please?

    Best regards,
    Rikard

    #1353365

    HI Rikard,

    These buttons do not align, as you can see. This happens each time there is a button row.
    Screenshot-2022-05-29-at-20-36-10
    Thanks

    Amy

    #1353367

    Hi,
    Thanks for the screenshot but I’m not seeing this on my Android device (360px) or in Chrome Dev Tools mobile emulation 375px – 425px
    2022-05-29_004.jpg
    what screen resolution and device are you seeing this at?

    Best regards,
    Mike

    #1353368
    This reply has been marked as private.
    #1353370

    Hi,
    Thanks for the feedback, I don’t have an iPhone but I do see that the first button that is not in the button-row doesn’t have the left & right 3px margin that the button-row has, try adding this css for the first button:

    .avia-button-wrap.avia-builder-el-12 > .avia-button {
    	margin: 3px;
    }

    Please note that testing with Safari can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
    Please also try this.

    Best regards,
    Mike

    #1353373

    Ok, I can try that but that doesn’t cover the other buttons on the other pages such as this one:

    CE299305-3-E50-41-B2-9-CA8-E44-D2-CC91-FCC

    #1353379

    Hi,
    True this button-row has the correct/same margins for both buttons
    2022-05-29_005.jpg
    I’m not sure why your iPhone is doing this, does it also occur in landscape mode?
    Try removing the HR before the button-row, perhaps that has something to do with it?

    Best regards,
    Mike

    #1353380
    This reply has been marked as private.
    #1353400

    Hi amyteslin,

    Please try to add this CSS code in Enfold > General Styling > Quick CSS:

    @media only screen and (max-width: 767px) {
      #top .avia-buttonrow-wrap .avia-button {
        display: block;
        max-width: 280px;
        margin-left: auto !important;
        margin-right: auto !important;
      }
    }

    Hope it helps.

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.