Skip to Content
Menu
This question has been flagged
1 Reply
4193 Views

Hi, my name is Jason.


I use Odoo 13 and I am struggling to edit the website to look good on web and mobile version. Is there a way to reposition the image for web and mobile? Or should I just disable the mobile version.


Best regards,

Jason.

Avatar
Discard
Best Answer

Hello Jason,


It is a bad approach to disable mobile version,
I suggest you can use CSS or JQUERY to manage positioning of image, MediaQuery in CSS is really helpful for such dynamic styling at the same time you can also use JQUERY's .width() method to get current screen size and apply your CSS accordingly.

If you still want to disable mobile view, You can use JQUERY's .width() method and display alert message to user when screen is smaller then a certain size and ask user to switch to a bigger device for better experience.

Hope this helps you.

Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Discard