Post by Rupert_B » Sun Apr 24, 2022 4:12 am

Hi:
I'm still struggling with an install. I migrated my categories and products from Squirrelcart, and now I have everything set the way I like it on my desktop computer. But when viewed on a mobile device the left menu disappears and you can't access the categories or menu.

I tried having all the categories up on the top menu, but that was huge because of the number of categories.
I'd like to go without the top menu and just have a side menu, and hopefully the side menu will re-adjust on mobile devices?
I tried removing all the categories from the top menu, but that didn't seem to help, I lost the left menu on both the computer and mobile device
I'm on v3.0.3.8 Do you have any suggestions? Thanks!
Last edited by Rupert_B on Tue Apr 26, 2022 3:37 pm, edited 2 times in total.

New member

Posts

Joined
Thu Apr 21, 2022 4:16 am

Post by sw!tch » Sun Apr 24, 2022 4:57 am

That is the default functionality of OpenCarts theme, the left column is hidden on small devices.

You can see by the line below in catalog/view/theme/default/template/common/column_left.twig

Code: Select all

<aside id="column-left" class="col-sm-3 hidden-xs">
You could remove hidden-xs, however keep in mind all modules used in the left column will be shown on mobile, and its not exactly “mobile friendly” IMO.

If you require more customization then, you may want to look for a better menu on the marketplace.

Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by Rupert_B » Sun Apr 24, 2022 5:40 am

Thanks for the suggestions. I did try removing that part of the code, but it didn't seem to help the 'mobile' version.
I'd appreciate it if anyone could recommend a module or extension that might fix that problem. Thanks!

New member

Posts

Joined
Thu Apr 21, 2022 4:16 am

Post by IP_CAM » Sun Apr 24, 2022 4:41 pm

You'll need to completely clear out all your Cache-Sections first, after such a change, to make changes work as planned.

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by cyclops12 » Sun Apr 24, 2022 11:03 pm

With all them categories, if you left the left column in on mobile the user will be forever scrolling to find stuff IMO

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Rupert_B » Mon Apr 25, 2022 6:24 am

Yes Cyclops! Unfortunately the categories being used are beyond my control ::)

New member

Posts

Joined
Thu Apr 21, 2022 4:16 am

Post by xxvirusxx » Mon Apr 25, 2022 5:48 pm

Better for Main menu categories use 2-3 columns....
Because this is ugly....
And disable Category count from settings

Attachments

uggly.png

uggly.png (88.85 KiB) Viewed 1211 times


Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Rupert_B » Thu Apr 28, 2022 11:53 pm

I found a sort of "fix" that for anyone that has 100+ categories. Name several Parent Categories as Page 1 Page 2 Page 3 etc. Then break up your other categories and rename them as child categories, for example with Page 1 being the parent. Then, on a mobile device there will just be a few "Page" categories, and when you click on it you see a few subcategories below each "Page".

New member

Posts

Joined
Thu Apr 21, 2022 4:16 am
Who is online

Users browsing this forum: No registered users and 6 guests