How do I make the featured collection/products taller so my product cards don't get cut off?

Solved

How do I make the featured collection/products taller so my product cards don't get cut off?

httpnavi
Tourist
12 0 1

Hi, 

 

The featured collection and collection list on my page are cut off, how do I get it to show full images and wider?

 

this is mine:

httpnavi_5-1743012826062.png

 

 

I would like it to look like this: 

full width and height

httpnavi_6-1743012825882.png

 

httpnavi_7-1743012825877.png

 

 

Site is https://combatstudios.online/

and password = webstore

 

Thanks in advance!

 

Accepted Solution (1)
EBOOST
Shopify Partner
1395 351 428

This is an accepted solution.

Hi,

1. Go to Store Online-> theme -> edit code
2. Assets/base.css
3. Add code below to end of file

.collection-list-wrapper .card .card__inner {
	height: auto!important;
}

.collection-list-wrapper .card .card__inner  .card__media .media,
.collection-list-wrapper .card .card__inner  .card__media img,
.collection-list-wrapper .card .card__inner  .card__media {
	position: static;
}

.collection-list-wrapper .card .card__inner  .card__content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips

View solution in original post

Replies 9 (9)

Mustafa_Ali
Explorer
342 26 55
.card__inner {
        height: 100% !important;
    }

MustafA16_0-1743013487802.png

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution

 

httpnavi
Tourist
12 0 1

Hi, this didn't change anything on my end

EBOOST
Shopify Partner
1395 351 428

Hi @httpnavi ,


May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code

EBOOST_1-1672356985580.png
2. Assets/component-card.css
3. Add code below to end of file

.product-card-wrapper .card__media .media img {
	object-fit: contain;
}
@media (min-width: 768px) {
  .product-card-wrapper  .card__inner {
    height: 100% !important;

  }
}

EBOOST_0-1743028376355.pngEBOOST_1-1743028414481.png

 

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips
httpnavi
Tourist
12 0 1

This worked for the featured products! Thank you!

 

Do you also know how to do it for the Featured Collection?

EBOOST
Shopify Partner
1395 351 428

This is an accepted solution.

Hi,

1. Go to Store Online-> theme -> edit code
2. Assets/base.css
3. Add code below to end of file

.collection-list-wrapper .card .card__inner {
	height: auto!important;
}

.collection-list-wrapper .card .card__inner  .card__media .media,
.collection-list-wrapper .card .card__inner  .card__media img,
.collection-list-wrapper .card .card__inner  .card__media {
	position: static;
}

.collection-list-wrapper .card .card__inner  .card__content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips
httpnavi
Tourist
12 0 1

Thank you so much! appreciate all the help! 😁

httpnavi
Tourist
12 0 1

Sorry for asking again, but is there also a way to remove the padding on the sides of the Featured collection?

httpnavi_0-1743038220278.png

like this

EBOOST
Shopify Partner
1395 351 428

Hi,

You only need add more code below:

.collection-list-wrapper.page-width {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips
httpnavi
Tourist
12 0 1

❤️