Canopy Theme - How to force submenu to be one column

On desktop view, the sub-menu splits into two columns whenever there are more than 10 items. I want to force one column. How do I force all items to list in one column?

Thank you!

Hey @tmaciejewski

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

Best Regards,
Moeed

Hey @tmaciejewski

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hi @tmaciejewski
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the How To Force Submenu To Be One Column, let’s try this solution:

Online Store ->Theme ->Edit code
Assets ->style.css

.main-nav .nav-item.drop-norm .sub-nav-inner{
	display: flex !important;
    flex-direction: column !important;
}

I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

That worked. Thanks so much!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.