What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Images not filling container LOCAL Theme

Images not filling container LOCAL Theme

JoannN
New Member
5 0 0

The images for my Collections containers are not showing correctly.  They are not filling the entire container.  Can someone point me to the setting that I need to change to make them fill the entire container?  Screenshot 2024-10-08 at 11.40.12 AM.png

Replies 7 (7)

EBOOST
Shopify Partner
1248 324 373

Hi @JoannN ,

Could you please share your URL store? I will help to take a look.

- 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
- ❤❤DONATE ❤❤Coffee tips
JoannN
New Member
5 0 0

Thank you so much!  I appreciate any help you can offer.

 

https://www.bodyhelix.com/

 

At the bottom of the homepage, you can see that it is happening with the "blog" images.

EBOOST
Shopify Partner
1248 324 373

Hi,

May I suggest to update code these steps:

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

EBOOST_1-1672356985580.png
2. Assets/theme.cs
3. Add code below to end of file

 

 

#main .blog-item  .lazy-image.lazy-image--animation.lazyloaded img {
  transform: scale(1) translateY(-50%);
}
.no-touchevents #main .blog-item  a:hover .lazy-image.lazy-image--animation.lazyloaded img {
  transform: scale(1.1) translateY(-50%);
}

 

- 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
- ❤❤DONATE ❤❤Coffee tips
JoannN
New Member
5 0 0

Thanks!!  I will try that and let you know.  I really appreciate your help!

 

Joann

JoannN
New Member
5 0 0

I did that.  This was the result.  It now fills only the top half of the container.

 

 

Screenshot 2024-10-10 at 12.22.39 PM 2.png

EBOOST
Shopify Partner
1248 324 373

Hi,

Do you add code to Assets/theme.css file? I checked code. However, I didn't see any code has been added .

 

EBOOST_0-1728613752305.png

It should be like the screenshot below after apply code

EBOOST_1-1728613784974.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
- ❤❤DONATE ❤❤Coffee tips
JoannN
New Member
5 0 0

Sorry for the delay.  I tried what you gave me on a test theme.  I'm always scared to try things on the live theme!  That's why you didn't see it.  We are in the midst of a theme update, and it doesn't seem to be happening on the updated theme.  So, I haven't pursued it any further. I appreciate your response, even though it did not work!  Thanks for taking the time to answer.