| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Disabling Categories List On Mobile | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Disabling Categories List On Mobile
Hello Community,
I was wondering if anyone knows a good way to disable the Categories list when viewing responsive theme in mobile. I have manually created the layout and text I want for Categories called Departments. This is fine in desktop mode as the theme doesn't show the automatic Categories list. However in mobile mode the Categories list appears along with my Departments list. I could do some tweaking but in order to allow for smooth theme upgrades I was checking with the community to see if there is a flag or setting I am missing. Thanks!
__________________
Respectfully, Jeremy X-Cart 5.3 running on: * Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled) * Database: Percona Server * OS: CentOS |
|||||||
#2
|
|||||||
|
|||||||
Re: Disabling Categories List On Mobile
In the XC demo (https://demostore.x-cart.com), you'd hide it with this:
@media (max-width: 767px) { #secondary-menu>.footer-menu>.leaf { display: none; } } But that's Crisp White. Do you have a live link you can provide? |
|||||||
#3
|
|||||||
|
|||||||
Re: Disabling Categories List On Mobile
For the time being I modified the following file:
/skins/customer/layout/slidebar.twig However this could easily be overwritten on a future update. Also yes I have backup copies (several).
__________________
Respectfully, Jeremy X-Cart 5.3 running on: * Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled) * Database: Percona Server * OS: CentOS |
|||||||
|
|||
X-Cart forums © 2001-2020
|