Need help with CSS |
Hello everyone,
Among several open-source shopping carts, I chose one based on CI found on GitHub for my e-commerce project but now stuck with a sidebar navigation menu. I have searched the web but cannot find a way to style my menu to display and organize content like menu that will open to the right and display all sub-menus in rows and columns. What I have actually achieved with some CSS tweaks is a tree view (vertical) menu but what I want is make each category, upon hover, display sub-menus in a row/column (horizontal) within a single big table. Fact is because of the database-driven categories nature of CI, I'm not even sure which chunks of code to present here, so not to overwhelm anyone. Any help is greatly appreciated and I hope, most importantly to be able to learn how to maintain the code, how each part works because I love it. This is what I have: Category 1 Sub1 Item1 Sub2 Item2 Sub3 Item3 Sub4 Item4 Category 2 Sub1 Item1 Sub2 Item2 Sub3 Item3 Sub4 Item4 This is what I want: Category 1 Sub1 Sub2 Sub3 Sub4 Item1 Item2 Item3 Item4 Category 2 Sub1 Sub2 Sub3 Sub4 Item1 Item2 Item3 Item4 Homepage VIEW: Code: <div id="nav-categories"> CSS: Code: div.filter-sidebar { Thank you. **EDIT: added code tags for readability. Poster: see https://forum.codeigniter.com/misc.php?a...help&hid=7 ** |
Messages In This Thread |
Need help with CSS - by lulab - 10-06-2019, 02:26 AM
RE: Need help with CSS - by John_Betong - 10-07-2019, 01:05 AM
RE: Need help with CSS - by lulab - 10-07-2019, 10:05 AM
RE: Need help with CSS - by jreklund - 10-07-2019, 12:09 PM
RE: Need help with CSS - by lulab - 10-08-2019, 01:38 PM
RE: Need help with CSS - by Wouter60 - 10-09-2019, 10:20 AM
RE: Need help with CSS - by lulab - 10-09-2019, 01:37 PM
RE: Need help with CSS - by John_Betong - 10-09-2019, 09:53 PM
RE: Need help with CSS - by lulab - 10-10-2019, 12:46 AM
RE: Need help with CSS - by lulab - 10-10-2019, 02:10 PM
RE: Need help with CSS - by John_Betong - 10-10-2019, 03:00 PM
RE: Need help with CSS - by lulab - 10-11-2019, 03:46 PM
RE: Need help with CSS - by John_Betong - 10-11-2019, 07:36 PM
RE: Need help with CSS - by lulab - 10-12-2019, 01:53 PM
|