App in wordpress doesnt fit to mobile screen

The best approach would be as toscho said in the comments – to write your own script an make it mobile friendly from the start. But if you want a quick, temporary solution you could do something like this: <div id=”maincontainerWrapper” style=”overflow: auto;”> <div id=”maincontainer” style=”position: relative;”> … </div> </div> then your calculator app will … Read more

deactivate product-page image slider on mobile

Ok I found the solution, with this code in functions.php: add_action( ‘after_setup_theme’, ‘remove_hemen_theme_support’, 100 ); function remove_hemen_theme_support() { remove_theme_support( ‘wc-product-gallery-zoom’ ); remove_theme_support( ‘wc-product-gallery-lightbox’ ); remove_theme_support( ‘wc-product-gallery-slider’ ); } The line remove_theme_support( ‘wc-product-gallery-slider’ ); deactivate the slider.

How can I hide/show text only for mobile users?

I guess that you can set the class for the paragraph and set it’s display to none only on mobile view. Such as, @media screen and (max-width:479px){ .nameofclasswhichtheparagraphhas {display:none;} } And add a button below it but set it’s display to none for Laptop users. Such as, @media screen and (max-width:768px){ .theclassofthebuton {display:none;} } and … Read more