Archived topic
add two png to menu
3 replies · Started by kieferntanne on April 7, 2022
Hello dear support team.
I want to display two icons (png) in my primary menu.
I have created the menu items as individual links.
Link to homepage: https://www.cdu-dahlem.com/
GeneratePress
Version: 3.1.3 Theme
Version 2.1.2
Facebook-Menu-Icon:
URL
https://www.facebook.com/CDU-Gemeindeverband-Dahlem-161491921028645/
navigation label:
<img src="wp-content/uploads/2022/04/22_Facebook_Dahlem_icon.png" />
Open link in a new tab
Instagram-Menu-Icon:
URL...
navigation label:
<img src="/wp-content/uploads/2022/04/22_Instagram_Dahlem_icon.png" />
The Facebook icon is only ever shown when I am on "Startseite" page, otherwise the png is not shown. Same at Slideout.
What is wrong?
Custom css is not being used.
Kind regards
Chris
Hi Kieferntanne,
The image isn’t rendering probably because the source is incomplete. Try changing it to:
<img src="https://www.cdu-dahlem.com/wp-content/uploads/2022/04/22_Facebook_Dahlem_icon.png" />
Change the instagram one as well.
Alternatively, you may also Add icons to menu items as such: https://docs.generatepress.com/article/adding-icons-to-menu-items/#floating-the-icon-to-the-right
Hope this helps! Kindly let us know how it goes. :)
Hi Fernando,
thank you for the quick help.
The adjustment of the link has helped!
Many many thanks
greetings
Chris
You’re welcome Chris! Glad to be of assistance! Feel free to reach out anytime you’ll need assistance with anything else. :)