Forums / General Questions / Subcatagories and mobile device display issue

Subcatagories and mobile device display issue

Views: 981

Results 1 to 5 of 5
24 Aug 2016, 7:04 PM
#1
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Subcatagories and mobile device display issue

When on my site, https://www.benzbonz.biz on a mobile device, if you select a category that has subcategories, depending upon where you click (on the category name, or on the number of categories to the right of the name) takes you to either the category (with no subcategories to click on) or a drop down of subcats is displayed. Anyway to always show the dropdown?

25 Aug 2016, 6:29 PM
#2
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Subcatagories and mobile device display issue

Oh, and I do have a 1 selected for the following

Categories - Always Open to Show SubCategories
Always Show Categories and SubCategories
0= off, just show Top Categories
1= on, Always show Categories and SubCategories when selected

1

28 Oct 2016, 10:46 PM
#3
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Subcatagories and mobile device display issue

anyone?

29 Oct 2016, 1:06 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Subcatagories and mobile device display issue

So I'm advising from a cell phone which means that with regards to javascript/jquery/css I can't be 100% sure that I have all the info correct, but what I see in review of the source code for the dropdown menu is that if an item has sub-items to it, then the item has the class submenu, but then it's sub-items has a class the next level down. Ie. The first dropdown/popout has a level2 class, the categories under that which have additional sub-categories are captured as level3 after the class link is assigned a submenu class. Product that don't have a sub-category have no class assigned. So, it looks like in order for clicking your sub-category to act like the dropdown arrow on the right side of the list, that the submenu class either needs to be replaced by the applicable next level class or the next level class needs to be included with the submenu class. I'm not exactly sure what all is involved with the submenu class (there's that cell phone limitation part) and how it is "referenced" or its importance.

So the question asked was how to find it.

May I present to you the developers toolkit. In the admin, under tools, there is a listing called developers toolkit. It can be your friend because you should be able to search on the word submenu and at least find code examples of where/how it is used. It could be in a php file, it could be in javascript, not sure at the moment because haven't cross referenced a functional site to identify this part. But it would help others I'm sure if it gets identified once found.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

30 Oct 2016, 4:55 PM
#5
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Subcatagories and mobile device display issue

thank you for the info,,, I am no where near savy enough to find or even make software changes,,, even though I've had a computer class,,, Fortran with WATFIV,,, still got the ibm punch cards from my first program around somewhere,,,