AbanteCart Community

Shopping Cart Operations => Tips and Tricks => Topic started by: OneMore on December 25, 2023, 02:54:46 PM

Title: Solution - How to force the category names to stay on one line in the drop menus
Post by: OneMore on December 25, 2023, 02:54:46 PM
To avoid carriage returns for long category names in the drop menus, simply add this CSS rule to the
"storefront/view/default/stylesheet/style.css" stylesheet:

Code: [Select]
section#categorymenu div.subcategories ul li a {white-space:nowrap;}
Tested for AbanteCart 1.2.11.
I inserted the text at line 226, just before the ".container-fixed {" selector.
Title: Re: Solution - How to force the category names to stay on one line in the drop menus
Post by: backcurrant on January 10, 2024, 11:20:55 AM
Good information!
Title: Re: Solution - How to force the category names to stay on one line in the drop menus
Post by: plonkarchivist on January 16, 2024, 09:35:39 PM
Thanks for this great in4