Cosmero docsPre-release

Ingredient spotlight

2 min read

Ingredient spotlight tells shoppers what goes into your formulas. It shows up to four ingredients, each with an image, its name, a one-sentence description and, if you add it, its concentration as a badge on the image. Use it on the home page or on a product page.

On desktop each ingredient gets its own column, so two, three or four ingredients fill the row. Tablets show three in a row when there are three, and two otherwise. On mobile you choose between a row that shoppers swipe and a list with each image beside its text.

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 or a product template.
  3. In the sidebar, select Add section.
  4. Choose Ingredient spotlight. It starts with three ingredients.
  5. Select Save.

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

  • Heading: the section’s heading.
  • Text: a short introduction under the heading.
  • Image ratio: the shape of the ingredient images: Square (the default) or Portrait (4:5). Images are cropped to fill it.
  • Mobile layout: Carousel (the default) shows the ingredients in a row that shoppers swipe, with the next one peeking in. Stack lists them one under another, each image beside its text.
  • Color scheme: the colors of the panel. 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 above the content, from 0 to 120 px.
  • Bottom padding: space below the content, from 0 to 120 px. On mobile, both paddings are scaled down: 64 px becomes 40 px.

One ingredient. The section holds up to four.

  • Image: a photo of the ingredient or its texture. A placeholder shows until you choose one.
  • Name: the ingredient’s name, such as niacinamide.
  • Description: one short sentence about the ingredient. You can use bold, italic and links.
  • Concentration: the ingredient’s concentration, such as 2% or 10%. Leave it empty to hide it. It shows as a badge in the top left corner of the image.
  • Add at least two ingredients. With one, it takes half of the row on desktop.
  • Keep each description to one sentence, so the ingredients stay even.
  • Images with a transparent background show the Image background color from Theme settings → Product cards behind them.

Still stuck? We answer.

Contact support