[Support request] show full image in page hero

Home Forums Support [Support request] show full image in page hero

Home Forums Support show full image in page hero

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2332508
    eran

    Hi,
    I made page hero to my home page but I don’t see the full image.
    how can I fit the image to the page hero so it will display the full image + why the image is blurred when its in the page hero?

    #2332621
    Leo
    Staff
    Customer Support
    #2332756
    eran

    Nope.
    I want the page hero to stay the same height and won’t be blurred how can i do that?

    #2332987
    David
    Staff
    Customer Support

    Hi there,

    you need to make the Page Heros aspect ratio match that of your original image.

    1. Calculate your original images aspect ratio: Height / Width * 100 = Aspect Ration %.
    Your example URL is: 1280 / 1920 * 100 = 67%.

    2. Now you can add this CSS to make the page-hero match that ratio:

    .page-hero {
        min-height: 67vw;
    }

    This will make it so 100% of the image is shown on any screensize.

    #2333181
    eran

    It makes my page hero height very large.
    how can i show the full picture but with small height?

    #2333258
    David
    Staff
    Customer Support

    The only way would be to NOT have the hero full width. You can’t have full width, full image and restrict the height…

    #2333426
    eran

    It still don’t show all the image if i put it on contained

    #2333431
    Fernando
    Customer Support

    Hi Eran,

    Try to upload an image with the same aspect-ratio as your page hero. Try an image with dimensions or aspect-ration of around 1143 x 279px.

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