Enlarge image on slideshow and move rectangle?

Enlarge image on slideshow and move rectangle?

KimGottwald
Trailblazer
235 0 34

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
10048 2389 3016

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
KimGottwald
Trailblazer
235 0 34

It does not work sadly..

 

Bildschirmfoto 2024-07-12 um 11.49.04 PM.png