Re: Stiletto Theme-Photos too large

Why are my product images too large in the Stiletto theme?

keljo
Tourist
6 0 4

When I enter products and add images in Stiletto my photos look fine, but on the home page and product page they are too big.  I have searched for a solution and most involve editing code in section-main-product.css, but I cannot find that in the stiletto theme so I am hoping that someone can tell me how to edit the code in Stiletto.  

 

url is ellejboutique.com and password is ellejboutique

 

Thank you!

Replies 8 (8)

theycallmemakka
Shopify Partner
1662 396 417

Hi @keljo 

If this is something you are looking for, you can follow below steps 

theycallmemakka_0-1711687918673.png

 


Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

 

<style>
.featured-collection-slider__product {
    max-width: 20%!important;
}
</style>

 

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: [email protected]

keljo
Tourist
6 0 4

Unfortunately, it did not work.

theycallmemakka
Shopify Partner
1662 396 417

Hi @keljo , can you try adding this. Also let me know which section section you are looking at.

<style>
.featured-collection-slider__product,
.recommended-products__slide{
    max-width: 20%!important;
}
@media only screen and (max-width: 600px) {
  .featured-collection-slider__product,
    .recommended-products__slide{
        max-width: 50%!important;
        width: 50%!important;
    }
}

@media (min-width: 960px){
   .product__primary-right {
        min-width: 500px!important;
    } 
}

</style>

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: [email protected]

keljo
Tourist
6 0 4

Thank you for the quick response, unfortunately that did not work either.

keljo
Tourist
6 0 4

The photos are to large in all the sections.  The featured collections is where it is most noticeable, but they are also to big when you click into a product.  They look fine when I upload the images on the add product page but once I am viewing the online store they are all to big.

Raj-webdesigner
Shopify Partner
345 85 82

Add This css In  Edite Code > Theme.css File 

.featured-collection-slider__product.carousel__slide.swiper-slide {
    max-width: 300px;
}

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-[email protected]


keljo
Tourist
6 0 4

Thank you for your response, unfortunately, it did not fix the problem.

Raj-webdesigner
Shopify Partner
345 85 82

Can You Tell Me Which Type Problem You Face add This Css in Your Theme.css File.
OR

which Type Error Show in Website.


Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-[email protected]