Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Impulse Theme Custom Content Image wayyy too big

Solved

Impulse Theme Custom Content Image wayyy too big

JordanDe
Shopify Partner
9 1 2

Hi all - 

I am using a custom content block on my product page with an image. I've tried cropping & editing the image but the image is still FAR to big on the page - its so large it doesn't fit on the page. 

Would be curious what people have for suggestions on how i should display this? It'd be nice to adjust this down to the screen size but be able to have the entire image in frame(it's the image with the arrows highlighting features)


Heres the URL to the site: 
Cast Iron Seasoning Oil Blend | Cookware Care (mycookwarecare.com)

Accepted Solution (1)
JordanDe
Shopify Partner
9 1 2

This is an accepted solution.

THanks for the response, much appreciated @Dan-From-Ryviu !

That didn't work fully as apparently my theme had some @ rules in this block. 

I was able to configure it a bit that got it to where i wanted(centered and smaller) with the following code:

.custom__item {
  flex: 0 0 auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}

View solution in original post

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
11626 2277 2459

Hi @JordanDe 

Please add this code to Custom CSS of that section to reduce the width of image 

.page-width {
    max-width: 1000px;
}

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

JordanDe
Shopify Partner
9 1 2

This is an accepted solution.

THanks for the response, much appreciated @Dan-From-Ryviu !

That didn't work fully as apparently my theme had some @ rules in this block. 

I was able to configure it a bit that got it to where i wanted(centered and smaller) with the following code:

.custom__item {
  flex: 0 0 auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}