[Resolved] Cover image is wider than content

Home Forums Support [Resolved] Cover image is wider than content

Home Forums Support Cover image is wider than content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1528145
    Pontus

    Hi there.

    There’s something weird with the image on some blocks. The image is wider than the content. The first block after the menu on the startpage and one subpage. Any suggestions why? Thanks in advance.

    https://prohorsesweden.com/
    https://prohorsesweden.com/foderstat/

    #1528489
    David
    Staff
    Customer Support

    Hi there,

    if you’re using GP 3.0 you can try switching the Customizer > General > Structure to Flexbox.
    If you need to keep using Floats then add this CSS:

    .wp-block-cover {
        box-sizing: border-box;
    }
    #1529404
    Pontus

    Thank you. That was it. Wasn’t sure about the difference between flexbox and floats but now I know.

    #1529598
    David
    Staff
    Customer Support

    FYI – the Flexbox version applies the box-sizing: border-box; down the page. Whereas Floats do not – But that is just an added benefit to the Flex version 🙂

    Glad to be of help.

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