Re: Enlarge image on slideshow and move rectangle?

Enlarge image on slideshow and move rectangle?

KimGottwald
Trailblazer
196 0 28

Hello,

 

can someone explain to me how I can make my image (1) as large as the one in the second image? Additionally, I would like the container to be half inside the image and half outside (both on desktop and mobile). I am using the Trade theme. Can anyone help me?

 

Thank you,

Kim.

 

KimGottwald_0-1720818628810.png

mine

https://suq5b8csct01fyzg-61270851797.shopifypreview.com/collections/rappid-test

 

KimGottwald_1-1720818629102.png

what I want

https://www.bareperformancenutrition.com/

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
7742 1872 2291

Hi @KimGottwald 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

 

@media only screen and (min-width: 749px){
.slideshow__text.banner__box {
    background: #fff;
    margin-bottom: -12rem;
    overflow: overlay;
}
.slideshow__text-wrapper.banner__content {
    padding: 0;
     margin-left: 10%;
}
.slider.slider--everywhere .slider__slide {
    margin-bottom: 15rem;
}
.slideshow__media.banner__media img {
    object-fit: contain;
}
}

 

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1720820820182.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
KimGottwald
Trailblazer
196 0 28

It does not work sadly..

 

Bildschirmfoto 2024-07-12 um 11.49.04 PM.png