• Hello, I have a problem with the homepage image.
    It doesn’t scale if I reduce the window or with the mobile view!

    I tried to add this in the CSS:

    #hero-header {
      background-size: contain !important;
      background-position: center top !important;
      background-attachment: scroll !important;
    }

    But this scales only the image, but not the container, leaving a white border below (expecially on mobile).

    Can you help me?

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

Viewing 1 replies (of 1 total)
  • Thread Starter phaolo

    (@phaolo)

    Maybe I managed to fix it with this:

    height: 50vh;
    background-size: cover !important;

    Is it possible to set a different “vh” for desktop and mobile resolutions?

Viewing 1 replies (of 1 total)
  • The topic ‘Homepage image scaling problem’ is closed to new replies.