VSom
1
Dear expert community,
I would like to find a way to hide the gift card section on my home page when people are visiting the website on Mobile : www.joyamada.com
I have looked into posted topics without finding my way around - would you know how to fix this ?
many thanks ahead !
Vanina
1 Like
@VSom Hi
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
1 Like
Hello @VSom
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
@media screen and (max-width:767px){
section#shopify-section-template--14720616595505__featured_product_4GeqLW {
display: none !important;
}
}
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
1 Like
Hello,
Go To Online store then chose edit code open your theme.css file and paste the following code at the end and save.
@media only screen and (max-width: 768px) {
#shopify-section-template–14720616595505__featured_product_4GeqLW {display: none;}
}
1 Like
Hello @VSom ! Please follow these steps to add this CSS code:
- Go to your Online Store
- Click on “Themes”
- Select “Edit code”
- Open your section file. If you have a custom CSS file, open that instead.
- If you can’t find your custom CSS file, open base.css" OR “theme.css”.
- Add the following code at the end of the file.
@media screen and (min-width: 768px) {
section.shopify-section.shopify-section--up-featured-product-with-bg {
display: none;
}
}
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
1 Like