-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icon in data-navmenu #383
Comments
I think we do it as below:
|
I think @ambarja is referring to adding an icon to headings on the navigation bar that when clicked bring up a drop down menu. When you want a page to appear directly on the navigation bar, @vkatti 's solution works perfectly :)
But if you want to nest several pages in a sub-menu (using data-navmenu="Submenu name"), it doesn't seem to be possible to give the submenu's title an image:
Together with @ambarja , I would very much like to be able to add an icon to these drop down menu headings (in the example above, I would want 'Topics' to have an icon next to it). Does anyone know if this is possible? If not, please could you consider it for a future update of flexdashboard? Thank you :) |
Following is a workaround. Adding the Emoji directly seems to work. But I agree, a better alternative is needed.
|
Thanks @vkatti , this is a very helpful workaround :) Do you know if it's possible to make the emojis blue and white, like icons would be? |
FontAwesome icons conforms to the font color and size as needed. Check out this Stackoverflow link about the same. |
Hello everyone, Is possible add a new icon in data-navmenu? Personally, I put the next code 👇
but it return error, however when I create a new page section and I put this html code
<img src=""> TITLE
, si display it the image.Here I added some images
The text was updated successfully, but these errors were encountered: