Hello!
I want to put icons on the main menu. How do I do it? where should I save my icon images?
Thanks
Hello! I want to put icons on the main menu. How do I do it? where should I save my icon images? Thanks |
Others may need to confirm this, but that is not a feature of dolphin, so doing it would require extensive modifications to the menu system. https://www.deanbassett.com |
i've not done this, however, if you were going to make that attempt, i would say to copy the uni template, and rename the necessary files to create a custom template, these image names could basically be named the same as the images that exist or dont exist, but the template is where you would want to start, because that is what controls the aesthetics of the sites design. as deano mentions, this will take some serious work, and not for the lame at heart, or the novice. Regards, DosDawg When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
This is a workaround that I have gotten to work for me ...creat the icon (and label if required) as a single PNG file the place in into the /templates/base/images/icons. Then all you need to do is select the main menu button you want to assign on icon too go into its propities and put the full image name in the icon field ... |
When you say put icons on the main menu, do you mean replace the wording of a menu tab with an icon. To do that, simply upload the icon to the templates/base/images/icons folder with whatever name you want. Go into the menu builder and select the menu item you wish to have the icon and in place where it says "Icon" place the icon name and now the picture will display instead of the text. Be aware that icons are set by default to be 64x164 and all larger icons will be compressed to that setting. To make wider icons go into bxbasemenu.php and at line 504 take out "width: 64px;" and at line 508 replace what is there with this code: $sImgTabStyle = 'style=""'; Now wide icons will properly display inside the tabs. If you want icons and text together you will need a mod because the current system doesn't support that change. To make Icons and Text together, simply make an icon with the text in the picture and upload that, it will accomplish your goal until something better can be programmed. |