Slideshow banner image too small on mobile

Hello,

I am trying to have my slideshow banner image apear larger on mobile, but stay the same size on desktop. i am trouble searching for code to help fix this.

On Desktop below it is good and takes up most of the page

But then on mobile it is very small

thanks in advance for the help

Hi,

Can you try this code

  1. Go to Online Store-> Theme->Edit code
  2. Asset->/base.css ->paste the below code at the bottom of the file.
@media(max-width:786px){
.slideshow__media> img,.slideshow__slide{
height: 550px !important;
}
}

Hey Ahsan! This work great! The heading and the button are now in the center of the image, would you be able to help me shift them to the bottom center of the image?

That’s great.

please add this code after the previously added code

@media(max-width:786px){
.banner__content{
align-items: flex-end !important; 
}
}

Yes this worked for mobile! Could you help out as well with moving it on desktop?

If your want to further move content down then also include this code.

@media(max-width:786px){
.banner__box {
    padding: 1rem 3.5rem !important;
}
}

Hey Ahsan, that appeared to move the mobile content down farther, but did not effect the desktop position…

Add this at bottom

@media(min-width:787px){
.slideshow__slide {
    align-items: flex-end !important;
    justify-content: flex-end !important;
}
}

Fantastic! thank you so much it worked! I did have another question if you are able to help?

I was also trying to shift these two collection titles to the center of the page like below

add the following code

.title-wrapper-with-link {
    justify-content: center !important;
}

Please feel free to ask for any problems. My please to help you

Yessir it worked! Thank you so much for all your help. I had one final question if possible…

Would you be able to increase the size of the stars just on mobile? And then change the color of the stars to gold on both mobile and desktop?

please add the following code

.rating-star:before{
-webkit-text-fill-color:gold !important;
}
@media(max-width:786px){
.rating-star:before{
font-size: 24px !important;
}
}

The code was able to increase the size on mobile, but not desktop, would you be able to help get them larger on desktop too?

The color did change on both though!

you asked for the size change on just mobile.

here is the new code for the desktop.

@media(min-width:787px){
.rating-star:before{
font-size: 25px !important;
}
}

Yes worked again! Thank you! Sorry last thing, is there a way to get the parenthesis and number next to the star to be the same size and in line with the stars as well? For both mobile and Desktop

here is the code. You can change the font size value as per your choice, just change the numeric value.

.rating-count {
    font-size: 22px !important;
}

Thank you so so much! That is everything I could have asked for and more! Appreciate you!!!

yeah, I see you change it to 15 that is nice.

You can ask anything at any time here or on my email.