AbanteCart Community

eCommerce construction => How-to questions => Topic started by: Yordan Yanakiev on February 27, 2021, 03:25:20 PM

Title: Prevent mobile view ?
Post by: Yordan Yanakiev 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.
Title: Re: Prevent mobile view ?
Post by: Basara 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
Title: Re: Prevent mobile view ?
Post by: Yordan Yanakiev on March 01, 2021, 10:03:12 AM
Any idea where and which ones to change ?
Title: Re: Prevent mobile view ?
Post by: Basara 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
Title: Re: Prevent mobile view ?
Post by: Yordan Yanakiev 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 ?