Text remains after changing CSS
-
Hi, I’ve got a question regarding:
https://en.forums.wordpress.com/topic/want-to-add-social-media-icons-to-menu?replies=3I tried to do this in the motif template and I’ve purchased the option to customize the theme and it also works partially. The icon I’ve chosen is visible, but also the text remains. Is there a little trick to only show the icon and to hide the text link?
The blog I need help with is: (visible only to logged in users)
-
Could you help me locate the icons?
I can’t find any social media icons or text in your menu bar.
-
Hi,
It’s the adjusted menu in the main sidebar “Contact”. The Social Media icons:
https://filmliefhebber.files.wordpress.com/2015/01/e-mail.png
https://filmliefhebber.files.wordpress.com/2015/01/facebook.png

-
This CSS replaces your Contact menu item with email icon you linked in the previous update.
#menu-item-12890 a { background: url(https://filmliefhebber.files.wordpress.com/2015/01/e-mail.png) no-repeat; width: 36px; height: 40px; text-indent: 100%; white-space: nowrap; overflow: hidden; }Please also add two more menu items for facebook and twitter profiles and link them using the similar CSS.
Just replace the id (#menu-item-12890) and the background property to point to relevant image.
- The topic ‘Text remains after changing CSS’ is closed to new replies.