Hello! Need help setting up the adaptive version.
How to remove the block with categories in the adaptive version, but so that it remains on the computer version? Theme Econmus
Hello! Need help setting up the adaptive version.
How to remove the block with categories in the adaptive version, but so that it remains on the computer version? Theme Econmus
can you please more specify the issue with a screenshot or with the store url so that i can look into it and give you exact solution.
thanks
The theme has such a block with categories, it needs to be removed in the adaptive version of the store, but so that it remains on the computer version. When I remove it on the mobile version, it disappears on the computer version as well. It is necessary that this block with categories be on the computer, but not on the mobile phone.
Hello @Maria2301
This is Amelia at PageFly - Shopify Advanced Page Builder app.
Could you provide me with the URL so I can check and fix it for you?
thanks for your response!
can you provide information with screenshots?
Hi @Maria2301
Dan here from Ryviu: Product reviews & QA app.
Could you share that page URL so I can provide the code to do that?
Hello @Maria2301
Could you please share the URL link of your page so that I can assist you in fixing the measurement issue?
please add below code into your theme.css file and save
Instructions: In your Shopify Admin, go to Online Store > Themes > Edit Code > Assets > theme.css
@media screen and (max-width: 767px) {
body.hdt-page-type-index .hdt-slider.hdt-categories_container {
display: none !important;
}
}
Thank you! I’ll definitely try it!
I have another question: is it possible to place these categories in the center on the mobile version? because there is no such setting in block editing.
yes this can be done too
Is it also necessary to do it through edit code or can it be done through custom css of this block in store edit? And can you send me this code please?
add this code
For Desktop
body.hdt-page-type-index .hdt-categories_container {
margin: 0px auto !important;
}
For Mobile
@media screen and (max-width: 767px) {
body.hdt-page-type-index .hdt-categories_container {
margin: 0px auto !important;
}
}
thanks
thank you very much!!
No problem feel free to get in touch if you need any help.