How to remove image from mobile view

Solved

How to remove image from mobile view

LaurenLw
Tourist
8 0 1

I have an image on the banner which I would like to retain only for desktop view.

 

For mobile view, I would like to remove the image and the text as it is blocking the main banner image.

 

Help on this will be much appreciated, thank you!

 

Desktop view

 

LaurenLw_1-1735826946679.png

Mobile view

LaurenLw_3-1735826975208.png

 

 

 

Accepted Solution (1)

Moeed
Shopify Partner
6577 1783 2162

This is an accepted solution.

Hey @LaurenLw 

 

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) {
.home-slideshow .slick-active .slider-content {
    display: none !important;
}
}
</style>

RESULT:

Moeed_0-1735827686111.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 6 (6)

websensepro
Shopify Partner
1806 204 248

Hi @LaurenLw , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
websensepro
Shopify Partner
1806 204 248

Hi @LaurenLw 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

@media(max-width:767px){
img.slide-img.medium-down--hide {
    opacity: 0 !important;
}
}

 

If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
websensepro
Shopify Partner
1806 204 248

@LaurenLw 

Use my code and remove the code you pasted, which I have circled.

websensepro_0-1735828385129.png

 

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

suyash1
Shopify Partner
10473 1289 1651

@LaurenLw  - can you please share your website link?

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

Moeed
Shopify Partner
6577 1783 2162

This is an accepted solution.

Hey @LaurenLw 

 

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) {
.home-slideshow .slick-active .slider-content {
    display: none !important;
}
}
</style>

RESULT:

Moeed_0-1735827686111.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


Hasan112
Shopify Partner
152 11 21

@LaurenLw Hello

@media(max-width:767px){ img.slide-img.medium-down--hide { display: none !important; } }

Accept as solution if its useful thanks 

- If you need assistance with your store, feel free to contact us at zayan.1@yahoo.com or WhatsApp!
- Hire me, if you want to Design, Re-design, Develop a store or make changes to the pre-built store.
- If its helpful, please Mark as Accepted Solution, reply helpful? Click Like. Or Coffee Tip Thank you!