How do i remove certain images for mobile

Solved

How do i remove certain images for mobile

Tousifm1
Tourist
10 0 2

Hi,

 

I have a weird picture resolution that works well when my website is on desktop, but appears extremely weirdly when on mobile. Is there a work around this? Can I make the picture not appear on mobile and just on desktop?

 

Website: florentinahq.com

 

I am talking about the "explore our limited time offer" section above the footer.

 

Many thanks. 

 

Tousifm1_0-1723139177440.png

 

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
2350 702 827

This is an accepted solution.

- Here is the solution for you @Tousifm1 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (max-width: 600px) {
.banner--large.banner--mobile-bottom:not(.banner--adapt) .banner__media {
 display: none !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1723139395612.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 2 (2)

BSS-TekLabs
Shopify Partner
2350 702 827

This is an accepted solution.

- Here is the solution for you @Tousifm1 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (max-width: 600px) {
.banner--large.banner--mobile-bottom:not(.banner--adapt) .banner__media {
 display: none !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1723139395612.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-B2B
Shopify Partner
1738 522 584

HI @Tousifm1 , 

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1723141489888.png

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

@media only screen and (max-width: 768px) {
  .banner__media.media.scroll-trigger.animate--fade-in {
    display: none !important;
  }
}

In this step, you can disable the banner media (certain images) for mobile view as you want

 

Step 3: Save your code and reload this page.

The result will be: 

'

BSSCommerceB2B_1-1723141632729.png

 

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now