• Resolved lorensimon

    (@lorensimon)


    I am trying to get a cover block to span across the whole page width stretching the image but I cannot find a setting to do it. Any help is appreciated.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am trying to get a cover block to span across the whole page width stretching the image but I cannot find a setting to do it.

    Hi @lorensimon the cover block on your home page seems to be full-width, did you figure it out?
    Anyway, you can use the blocks toolbar options to make the block wider as shown in the screenshot below

    You can also read about the cover block below:

    Cover block

    Thread Starter lorensimon

    (@lorensimon)

    I “kind of” figured it out but not fully. With a custom CSS on the image class I set the width to 100%. What I really wanted to do is set a max height so when the width is stretched the aspect ratio is constant, and the image is zoomed in. I am still playing with CSS to see if can achieve it.

    Thread Starter lorensimon

    (@lorensimon)

    success! Max-width and object-fit: cover did the trick.

    Great to hear you figured this out and thank you for sharing the solution, @lorensimon.

    How does this differ from the default behaviour? I would like to see if there is an opportunity to enhance the current functionality.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cover block full width picture’ is closed to new replies.