[Resolved] Gutenberg “Cover” Image Block doesn’t align on mobile

Home Forums Support [Resolved] Gutenberg “Cover” Image Block doesn’t align on mobile

Home Forums Support Gutenberg “Cover” Image Block doesn’t align on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1566472
    Daniel

    Hey,

    I’ve published a new blog post and used the Gutenberg clock “cover” to spice up my Headings (used only with H2) with background images. I think it looks great, but on mobile the block won’t align in the center / doesn’t have enough padding on the right. Don’t know how to fix it.

    Can you help me?

    You can take a look here: https://e-skateboarder.com/best-electric-skateboards/

    Thanks,
    Daniel

    #1566615
    Elvin
    Staff
    Customer Support

    Hi there,

    To clarify: Do you want it to appear similar to this? https://share.getcloudapp.com/L1uO7gN6

    If so, try adding this CSS:

    @media(max-width:768px){
    .entry-content .wp-block-cover {
        width: auto;
    }
    }
    #1567147
    Daniel

    Exactly, that is what I was looking for.
    Thank you, Elvin!
    I am very happy right now ๐Ÿ™‚

    Have a great day!

    #1567153
    Elvin
    Staff
    Customer Support

    Glad it works for you. No problem. ๐Ÿ™‚

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