How can I scale the images/banners correctly so that they adjust to the window size?
smaller window:
Hi Antonia,
From your screenshot it's a Callout banner with Background type Image. That image is used as a background that fills the whole section and stays centered, so it doesn't shrink with the window. It gets cropped instead, top and bottom on a wide screen and the sides on a narrow one. On my demo site the banner section of the help center is built the same way (CSS cover, centered). I didn't test the Callout banner itself, so take it with a grain of salt.
What usually works is a background with nothing important near the edges, like a color, gradient or pattern, and anything that must stay visible right in the middle.
If the gear icon has to be shown whole, could you try adding it as an image in a text section instead (type /image)? I haven't checked how those behave on a small screen.
For a banner per screen size there is an older suggestion you can vote on, https://jira.atlassian.com/browse/JSDCLOUD-6812
Hi Pavel,
Well, unfortunately the /image thing doesn't work, but I'll just try using a banner with a color gradient or something like that. Thanks!
Hi @Antonia,
I think a Spotlight section is the better home for the gear icon, because its image sits next to the text as its own element instead of filling the background behind it.
The Help center components page lists a "Split design (image first)" layout for Spotlight, described as "A large image on the left, with lots of room for content", so you can keep the Callout on the gradient you planned and upload only the icon as the Spotlight image. I haven't tested Spotlight on a narrow window myself, so I'd look at it on a small screen before you publish.https://support.atlassian.com/jira-service-management-cloud/docs/help-center-components/
Pavel's point about the middle holds. If you do keep an image behind the Callout, the only size hint I found for the Modern help center is the one in your own screenshot, "Choose high resolution images 1200px or wider for best results". The 1920 x 400 size and safe-zone diagram on the branding page are written for the Legacy help center banner, so I wouldn't rely on them for this one.
Hi Gabriela,
thank you for your help! Unfortunately, I can only place a Spotlight on the homepage, but it doesn't do me any good there. Thanks anyway for your help. I've now used a banner with a pattern, without an icon.
It looks like you're new here. Sign in or register to get started.