robertbell Posted March 23, 2015 Share Posted March 23, 2015 I just upgraded from version 5.2.16 to 6.0.1 and switched to unmodified foundation. I have five main categories, one of which has 13 subcategories. All is well when "display empty categories" is set to yes, but when it is set to no the subcategories no longer display when the viewport gets down to cell phone size. The site is https://www.sojourner.biz. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 23, 2015 Share Posted March 23, 2015 Welcome robertbell! Glad to see you made it to the forums. It is a definite problem -- probably a misunderstanding by the developers of the Foundation skin. Anyway, try this. In the file cubecart.default.css (currently empty), add this:.top-bar.expanded { /* <== no spaces in this rule's selector */ overflow: visible; } Unfortunately, this causes the sub-cats (as many as will display in the viewport) area to slide into view obscuring the top of the Homepage document. If you think the visitor won't mind not seeing the Homepage while looking at the list of sub-cats, then all's ok. There is another issue when the list of top-level categories (TLCs) is long - the Homepage starts at the bottom of this list, even though it has slide out of view in favor of the cat::sub-cat list. And that's basically the problem. The Homepage area is fixed at the location where the bottom of the TLC ends, regardless of what list of cats are showing. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted March 23, 2015 Share Posted March 23, 2015 I have reported this issue to CubeCart and it is supposed to be fixed in 6.0.2 Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted March 23, 2015 Share Posted March 23, 2015 I have reported this issue to CubeCart and it is supposed to be fixed in 6.0.2 Was this via a github issue or private ticket ? If an issue, then it is always useful to state the url to the issue please. 6.0.2 is due for release tomorrow (Tuesday). Ian Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 23, 2015 Share Posted March 23, 2015 This was a bug in foundation framework fixed for 6.0.2 due early this week (hopefully tomorrow). The subcategories won't show in small device view (as image tiles below top nav). This is intentional. Quote Link to comment Share on other sites More sharing options...
robertbell Posted March 23, 2015 Author Share Posted March 23, 2015 Aside from the problem with the navigation bar, which bsmither's code fixes, there are also no links to the subcategories on the category page on a small device. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 23, 2015 Share Posted March 23, 2015 You just need to remove the show-for-medium-up class to show subcategories on small devices. This is not a bug. More info here: foundation.zurb.com/docs/components/visibility.html Quote Link to comment Share on other sites More sharing options...
robertbell Posted March 24, 2015 Author Share Posted March 24, 2015 Got it. Thanks. Is there any way to make this sort of customization in a way that persists through an upgrade (such as today's)? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 24, 2015 Share Posted March 24, 2015 Yes.. This is for v5 but process is exactly the same in v6. https://support.cubecart.com/index.php?/Knowledgebase/Article/View/202/46/how-do-i-create-a-custom-skin-or-template-in-cubecart-v5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.