Archived topic
Product Categories Issue
7 replies · Started by George on August 27, 2021
A list of the product categories is shown in the sidebar. Some categories which are 2 words are automatically displayed as 2 lines. Does anyone know how I can make them appear on one line?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Hi Leo, thanks for getting back to me:
Here is the site, if you click the sidebar you will see that categories which are 2 words are spaced onto 2 lines.
Hi George,
I've checked the site and it doesn't seem to have any sidebar. Perhaps its a specific page.
Can you link us to the exact page in question? Let us know. :)
Please try clicking the button in the top right-hand corner of the site. the button to the right of the magnifying glass, this button opens the sidebar which will appear on the left-hand side of the page.
Oh you meant the Off-canvas menu. My bad.
You can try adding this CSS:
nav#generate-slideout-menu li a {
white-space: nowrap;
}
But consider increasing the side of the off-canvas panel first as long labels for menu items may exceed the actual panel size.
Thanks, problem solved
Nice one. Thanks for letting us know. Glad you got it sorted. :D