Re: how to make my images taller in my collections page

how to make my images taller in my collections page

persephonevint
Tourist
14 0 1

i am trying to change the aspect ratio to make my images taller in my collections page. how do i do this with code? using studio theme.

Replies 4 (4)

Dan-From-Ryviu
Shopify Partner
9534 1916 1950

Hi @persephonevint 

You do not need to use any code because it has the option to change Image ratio from your Online Store > Themes > Customize > Collections > Default collection Screenshot 2024-08-07 at 10.01.46.png

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

persephonevint
Tourist
14 0 1

i want to change the ratio to a specific size and don't seem to have that option 

Dan-From-Ryviu
Shopify Partner
9534 1916 1950

Hi @persephonevint 

You can do that by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings. Change 150% with your own value. 

.card .card__inner { --ratio-percent: 150.0% !important; }

 

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

persephonevint
Tourist
14 0 1

what if i want to change the actual dimensions?