Shopify themes, liquid, logos, and UX
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
Hi,
I am using the Dawn theme (15.3.0) and i have 5 text boxes that I want to hide from being shown on mobile view (image attached) but keep on desktop.
I had a code but it's no-longer working, can anyone help me with hiding these again?
url - thescentedmeltshop.com and password - shop90
Thanks,
Sam
Solved! Go to the solution
This is an accepted solution.
Hi @samr66.
Here's how to hide the section on mobile.
1: Go to Online Store -> Theme -> Edit code
2: Search file base.css
3: Add the following code to the bottom of the file -> Save
@media screen and (max-width: 749px) {
#shopify-section-template--18483986890918__multicolumn_GyxMR7 {
display: none;
}
}
If done correctly, the result should be:
If you don't want to add the code to theme files directly, you can use a code injection app like the one in my signature.
I hope this helps!
This is an accepted solution.
Hi @samr66.
Here's how to hide the section on mobile.
1: Go to Online Store -> Theme -> Edit code
2: Search file base.css
3: Add the following code to the bottom of the file -> Save
@media screen and (max-width: 749px) {
#shopify-section-template--18483986890918__multicolumn_GyxMR7 {
display: none;
}
}
If done correctly, the result should be:
If you don't want to add the code to theme files directly, you can use a code injection app like the one in my signature.
I hope this helps!
thank you this as worked!
Anytime! Glad I could help!
You can do that by adding this code to Custom CSS of that section.
@media (max-width: 749px) {
.multicolumn { diplay: none !important; }
}
- 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.
<style>
@media screen and (max-width: 767px) {
slider-component.slider-mobile-gutter {
display: none !important;
}
.page-width.section-template--18483986890918__multicolumn_GyxMR7-padding.isolate {
display: none !important;
}
}
</style>
hey @samr66 dear follow these steps
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->before the </body> ----->
before the body ----->
if this code work please do not forget to like and mark it solution
Please add below css code at the bottom of base.css file
@media screen and (max-width: 749px) {
.multicolumn.color-scheme-1.gradient.background-primary.no-heading .page-width.section-template--18483986890918__multicolumn_GyxMR7-padding.isolate
{
display: none;
}
}
Thank you.