We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Remove text boxes from mobile view but keep on desktop view

Remove text boxes from mobile view but keep on desktop view

samr66
Excursionist
37 0 7

Hi, 

 

I am using the Dawn theme (latest vision) and wondered if anyone as a solution or code for the below:

 

I have 5 text boxes shown on my homepage and I would like to remove them from mobile view but keep them displayed on desktop view, is this possible?

 

I have attached pdf first image is desktop second is mobile views.

 

Many thanks,

sam

Replies 10 (10)

topnewyork
Astronaut
1552 192 253

Hello @samr66 ,

 

Can you please share your store URL?

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
samr66
Excursionist
37 0 7

yes, it is - thescentedmeltshop.com

topnewyork
Astronaut
1552 192 253

@samr66 ,

 

Try this code
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

 

@media screen and (max-width: 989px) {
    .multicolumn .page-width {
        padding-left: 0;
        padding-right: 0;
        display: none;
    }
}

 

 

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
samr66
Excursionist
37 0 7

Thank you for getting back to me, I have added the code but it won't remove the boxes from mobile view. 

topnewyork
Astronaut
1552 192 253

Can you send me a screenshot showing which text boxes you want to remove? Because there are two sections with text boxes on the homepage

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
topnewyork
Astronaut
1552 192 253


Please try this code

@media screen and (max-width: 749px) {
    slider-component.slider-mobile-gutter {
    display: none !important;
    
}
}

 

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
samr66
Excursionist
37 0 7

Hi, I've just tried the new code and its displaying an error code in the footer. Please see attached sorry if i'm not making sense, appreciate your help!

samr66
Excursionist
37 0 7

Hello, i've removed the password now.

samr66
Excursionist
37 0 7

Ok thanks, I have sent you an email.

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

You can do that by adding this code to Custom CSS of that section

@media (max-width: 749px) {
slider-component { display: none; }
}

- Helpful? Like & Accept solution!
- 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.