Make Gif Size smaller

Topic summary

Goal: Reduce the size of a GIF on a product page (black shirt with white print) on sixdreamz.com.

  • Actionable fix via CSS: Edit base.css and set a smaller fixed height for the GIF within the product media gallery. Example provided targets .product__media-list … li:nth-child(2) img with height: 400px !important, allowing adjustment to any desired size. Steps: Admin β†’ Online store β†’ Themes β†’ Edit code β†’ base.css β†’ add CSS β†’ Save and reload.

  • Alternative suggestions: Add custom code in theme.liquid (either before or above ). However, the actual code snippets are not visible in the thread, so these instructions aren’t directly actionable as posted.

  • Evidence: Screenshots show the expected smaller GIF result. The CSS code snippet is central to understanding and reproducing the change; later replies reference code but do not include it.

  • Status: No confirmation from the original poster and no marked solution. The thread appears unresolved pending feedback or working code for the theme.liquid approach.

Summarized with AI on December 19. AI used: gpt-5.

hey,

if you go on my website, pieces, click on the black shirt with a white print on it and scroll down, youre gonna see a gif of someone turning in a circle, i want to make that gif smaller, can you help me?

url: sixdreamz.com

2 Likes

Hi my friend @sixdreamz ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!

Step 1: Go to Admin β†’ Online store β†’ Theme > Edit code:

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

.product__media-list.contains-media.grid.grid--peek.list-unstyled.slider.slider--mobile li:nth-child(2) .product__media.media.media--transparent img {
    height: 400px !important;
}

In this step, you can change the height smaller or bigger as you want.

In my example, I choose 400px

Step 3: Save and reload home page.

=>> The result:

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir!

  • Here is the solution for you @sixdreamz
  • Please follow these steps:
  1. Go to Online Store β†’ Theme β†’ Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before and press β€˜Save’ to save it

  • Here is the result you will achieve:

  • Please press β€˜Like’ and mark it as β€˜Solution’ if you find it helpful. Thank you.

This is Richard from PageFly - Shopify Page Builder App

Hi @sixdreamz Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag


Hope my solution will help you resolve the issue.

Best regards,

Richard | PageFly