Author Topic: Prevent mobile view ?  (Read 441 times)

Offline Yordan Yanakiev

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Prevent mobile view ?
« on: February 27, 2021, 03:25:20 PM »
Hello.
Most of the clients complains comes from the mobile view, since this list selector for the menu seems like not intuitive, and they prefer to zoom probably as a desktop than use this menu list.
Is there a way to prevent switching to mobile view and how?
Thank You in advance.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4899
  • Karma: +255/-2
    • View Profile
Re: Prevent mobile view ?
« Reply #1 on: March 01, 2021, 06:05:52 AM »
Hello.
The mobile view in most of themes are set of CSS rules. You need to remove or adjust them
/storefront/view/default/stylesheet
« Last Edit: March 01, 2021, 06:07:38 AM by Basara »

Offline Yordan Yanakiev

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Prevent mobile view ?
« Reply #2 on: March 01, 2021, 10:03:12 AM »
Any idea where and which ones to change ?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4899
  • Karma: +255/-2
    • View Profile
Re: Prevent mobile view ?
« Reply #3 on: March 02, 2021, 12:43:55 AM »
Hello.
The default theme mail css files is located in the public_html/storefront/view/default/stylesheet/style.css
The CSS rules for mobile usually started with @media
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/stylesheet/style.css#L3283

Offline Yordan Yanakiev

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Prevent mobile view ?
« Reply #4 on: March 02, 2021, 12:20:10 PM »
shall I change it only in Style.css or in every CSS ?
and to change to what ?

 

Powered by SMFPacks Social Login Mod