where and how to add line break in category name. I would like the category name output to break at the first space it encounters. Anyone know how to achieve this? thanks.
I tried replacing what you said in the Top Menu CSHTML file, but that did not do anything.
Hi Lena,
Please provide proper information with code change and mention if you're using any third party plugin or theme. I've tested it in default theme, and it's working fine!
Upper solution doesn't work with first space! It's working with HTML tag, if you want to display category name, you need to write category name with <br> tag.
For instance:
Apple <br> Computers
Will display:
Apple Computers
Lena Raman wrote:
Will that solution not work if I am using third party themes and plugins?
If they override TopMenu.cshtml page.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.