Hi there,
How can I make a submenu item to wrap when text longer than width?
Thanks
Hi there, How can I make a submenu item to wrap when text longer than width? Thanks |
CSS3 has a word wrap but not sure if it is supported in all browsers at this time or not. You could try something like the following: .wrapword{
Geeks, making the world a better place |
Thanks for your reply... in which CSS file shall I place this code? |
Please note that was an example only and the html code was not Dolphin code but just an example I copied along with the rest. I think the css file you want is top_menu.css (or something similar); I don't create templates day to day so I may be wrong on the file name. What you want to do is to use inspect element (or firebug plugin which I prefer) in your browser; right click on an element to inspect it and choose inspect element or inspect with firebug or something like that. Then you can see the class that handles the text for the menu element and apply the css I showed to that class. If you don't know how to do such things, then you should get someone to help. And back up your css file before making changes so if you totally screw up the menu you can put it back. You will need to clear the caches in the admin when making changes to the templates. Geeks, making the world a better place |
It actually will not be that simple. https://www.deanbassett.com |