How can I resize content on my product page to save screen space?

Topic summary

Goal: reduce the visual footprint of content on the Shopify product page (theme: Refresh) so it takes up less screen space, without affecting other pages.

Context: The store URL and a screenshot were provided. The request is to make “all the content smaller” specifically on product pages.

Proposed solution: Add a CSS rule in the theme’s CSS file (base.css/style.css/theme.css) via Online Store > Themes > Edit code:

  • Selector: .product__info-wrapper.grid__item.product__info-wrapper–extra-padding.scroll-trigger.animate–slide-in
  • Rule: height: min-content !important;
    A screenshot showed the expected result. The code snippet is central to the suggestion.

Outcome: The change did not achieve the desired effect for the requester. However, adding color: red to the same selector did change text color, indicating the CSS selector is applied but the height: min-content rule doesn’t address the perceived “size” issue.

Status: Unresolved/ongoing. Key next step implied: consider different CSS (e.g., font-size and spacing like margins/padding) targeted to product pages rather than container height.

Summarized with AI on January 11. AI used: gpt-5.

Hi, quick question, how do i make all the content on my product page smaller so it doesnt take up so much space on the screen? It needs to only apply on product page.

Theme: Refresh

Site: https://niedladyktatury.pl

1 Like

Hi @Cherry_Moon

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.product__info-wrapper.grid__item.product__info-wrapper--extra-padding.scroll-trigger.animate--slide-in {
    height: min-content !important;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Sadly, it didnt work out for me, but when I add color:red to it the text changes so maybe its something with the command.