prestarocket-agence / classic-rocket

Classic Rocket is a rework of "classic theme". It has been built keeping in mind : performance, accessibility and SEO.
https://demoprestashop.prestarocket.com/
Other
229 stars 127 forks source link

megamenu not wrapping #72

Closed MortenKL closed 5 years ago

MortenKL commented 5 years ago

When a category holds more than a certain number of subcategories, the text does not stay within the border of the menu box. Ideally it should wrap around and continue downwards inside the box (I would imagine). Skærmbillede 2019-07-03 kl  09 04 30

MortenKL commented 5 years ago

I was able to get by with this css: @media (min-width:768px){ ul.menu-sub__list--1 { flex-wrap:wrap; } li.menu__item--1 { margin-bottom:15px; } } Not entirely sure if this is the best solution, but seems to do the trick.

prestarocket commented 5 years ago

this theme is not designed to have a menu with many items

MortenKL commented 5 years ago

As I said, it’s solved by a simple css rule. Even if you don’t think it is designed to have many items it actually can have more, and I just showed you how to do it without a problem.

/Morten

Den 6. aug. 2019 kl. 22.51 skrev Adonis Karavokyros notifications@github.com:

Closed #72 https://github.com/PrestaShop/classic-rocket/issues/72.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PrestaShop/classic-rocket/issues/72?email_source=notifications&email_token=AA3RQUNRGWVOHQFPAPOGV2DQDHP4VA5CNFSM4H5CXTGKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOS5EBKGA#event-2538083608, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3RQUNXRJJRQ5YZ37EP33TQDHP4VANCNFSM4H5CXTGA.