Cosmero docsPre-release

Image banner

3 min read

Image banner shows one large image with a label, a heading, a text and a button on top of it. Use it to open a page, or between sections to show your products in use. When it’s the first section on a page, the header can sit over it, as it does over the slideshow.

Online Store → Themes → Customize

  1. In your Shopify admin, go to Online Store → Themes and select Customize on Cosmero.
  2. At the top of the theme editor, open the template you want to change, such as the home page.
  3. In the sidebar, select Add section.
  4. Choose Image banner.
  5. Add an image, then select Save.

You can add it to any template, but not to the header or the footer.

  • Image: the banner’s image. 2400 x 1600px or larger recommended. Set a focal point to keep the subject in view when the frame crops the image. Until you add an image, the banner shows a faint placeholder.
  • Height: Adapt to image follows the image’s own shape, so nothing is cropped. Small, Medium (the default), Large and Full screen set a height, and the image is cropped to fill it. Full screen fills nearly the whole height of the screen. Without an image, Adapt to image shows at the Medium height.
  • Content position: where the text sits: Bottom left, Bottom center, Middle left or Middle center (the default).
  • Text color: White over overlay (the default) puts white text on an overlay that darkens the image, and lets the header sit over the banner. Color scheme text uses the text color of the section’s color scheme, with no overlay, which suits light images.
  • Overlay color: the color laid over the image, under the text. Shown when Text color is White over overlay.
  • Overlay opacity: darkens the image so white text stays readable, from 0 to 80% (default 35%). Check the contrast on your own images. Shown when Text color is White over overlay.
  • Label: a short line above the heading.
  • Heading: the banner’s heading.
  • Text: the text under the heading.
  • Button label: the text on the button.
  • Button link: where the button goes. The button shows once it has a link.
  • Color scheme: shows behind the image while it loads and when there is no image. With Color scheme text, it also sets the color of the text. You edit color schemes in Theme settings.
  • Panel style: Panel is a rounded panel inside the page margin. Flush spans the full page width with square corners.
  • Enable full width on mobile: on mobile, the panel runs from edge to edge with square corners. Shown when Panel style is Panel.
  • Top padding: space between the top of the banner and its text, from 0 to 120 px. When the header sits over the banner, the header’s height is added, so the text stays clear of it.
  • Bottom padding: space between the text and the bottom of the banner, from 0 to 120 px. On mobile, both paddings are scaled down: 64 px becomes 40 px.
  • To place the header over the banner, make the banner the first section on the page, keep Text color on White over overlay, and turn on Enable header overlay in the Header section.
  • With Color scheme text, choose a color scheme whose text color reads well on your image.
  • When the banner is the first section on the home page, its heading is the page’s main heading (h1).

Still stuck? We answer.

Contact support