Site logo

[Support request] Problem with button alignment

Home Forums Support [Support request] Problem with button alignment

Home Forums Support Problem with button alignment

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #1718469
    Elvin
    Staff
    Customer Support

    That CSS is for post loops.

    Are you trying to make the images with extra-margin-bottom go full width on mobile?

    If so, try this CSS:

    @media(max-width:768px){
        .wp-block-image.extra-margin-bottom figure{
            float: none;
            width: 100%;
        }
        .wp-block-image.extra-margin-bottom figure img{
            width: 100%;
            height: auto;
        }
    }

    Note: This won’t go full-width of the viewport. It will only go full-width of its container like this: https://share.getcloudapp.com/ApuYN4xo

    #1720299
    paddyd

    PERFECT! Exactly what I was looking for, Elvin. Thanks!!

    #1721412
    Elvin
    Staff
    Customer Support

    No problem. Glad to be of any help. 😀

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.