Different picture for mobile than for desktop (image with text overlay; showcase theme)

Solved

Different picture for mobile than for desktop (image with text overlay; showcase theme)

Zuips
Tourist
7 0 3

Hey im using the Showcase theme and the Banner i have on my site doesnt work for mobile so i wanted to put a customized picture for the mobile version. Ive found some code to implement but i have a different theme so i dont have the same .css . 

Can you guys help me so i can customize a different picture for the mobile view?  ❤️ thanks in advance

 

Url www.zuips.com pw: IchwillendlichbeiZuipsshoppen

Accepted Solution (1)

Moeed
Shopify Partner
7700 2069 2550

This is an accepted solution.

Hey @Zuips 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
#page-content>div:first-child .height--full .rimage-outer-wrapper {
    min-height: 220px !important;
}
}
</style>

RESULT:

Moeed_0-1731325629476.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
7700 2069 2550

This is an accepted solution.

Hey @Zuips 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
#page-content>div:first-child .height--full .rimage-outer-wrapper {
    min-height: 220px !important;
}
}
</style>

RESULT:

Moeed_0-1731325629476.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Zuips
Tourist
7 0 3

OMG! Thank you so much! i knew there was a fast fix! 🙂 i dont even have to do a different mobile picture! 🙂 ❤️ very nice thaaanks

Moeed
Shopify Partner
7700 2069 2550

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Dan-From-Ryviu
Shopify Partner
11966 2341 2520

Hi @Zuips 

You can add 2 image with text sections, one for mobile and another one for desktop, then add those codes to the Custom CSS of each.

  • CSS Code for desktop section, it will hide this section on mobile

 

 

@media (max-width: 749px) {
.image-overlay { display: none; }
}​

 

 

  • Code for mobile section

 

 

@media (min-width: 750px) {
.image-overlay { display: none; }
}​

 

 

 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- 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.
- Enjoy 1 month of Shopify for $1. Sign up now.