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

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.