Home › Forums › Pro Themes › Photomania Pro › Adding RSS to Social Menu
- This topic has 10 replies, 2 voices, and was last updated 7 years, 11 months ago by wensolutions.
-
AuthorPosts
-
December 23, 2016 at 3:45 pm #26559EZiserParticipant
Hi Wen,
I was pleasantly surprised to see that the Social Menu automatically recognized Facebook, Twitter, etc. However, it doesn’t seem to recognize RSS or custom links. Is there a way around this? Or a way to customize the icon? (currently a broken “link” image since it’s not recognizing)
Thanks!
December 24, 2016 at 4:42 am #26575wensolutionsKeymasterHello,
Currently you do not seem to have used the rss link in the social menu placed at the header-top right.
The theme by default supports all the major social icons display automatically. As the theme supports the use of font-awesome icon classes included in the theme, you can use the “fa fa-rss” icon class in the “Menu Classes” under the menu item to provide the icon for the menu item specifically.
Please let us know after adding the menu item if you need further assistance on using CSS Classes for menu items.
Hope this Helps,
Best Regards.
December 24, 2016 at 6:46 am #26580EZiserParticipantHi @wensolutions,
Correct, I had to remove the RSS social icon since it was a broken image.
I’m fully familiar with the font-awesome icon classes. However, there is no place to input the icon under Menus > Custom Links. When investigating the css, it looks like the icon is being called under content=”\f0e1″; — which doesn’t correspond with the “fa fa-rss” formatting.
Please advise how to update this icon. I’ve added the broken link on the page so you can view.
Thanks!
December 24, 2016 at 6:50 am #26581EZiserParticipantSecondly: The RSS link is opening in a new tab – even though I DON’T have “open in a new tab” selected under Menus > Custom Links. Any idea why this isn’t responding correctly?
December 24, 2016 at 12:26 pm #26604wensolutionsKeymasterDid you just switched to any other theme ? As we just tried to verify and saw the different site layout.
December 26, 2016 at 6:00 am #26715EZiserParticipant? I’m using your theme, Photomania Pro. That hasn’t changed since Friday.
What are you seeing? Or what did you see? http://www.tickettotakeoff.com/
December 26, 2016 at 6:30 am #26717wensolutionsKeymasterHello,
Since you are using a your own custom link you will have to add an additional CSS that will show up when you have your custom link on the social menu.
Don’t worry its quite simple and not so hard to understand as we will provide you the required CSS code.
Just copy and paste the below given code to
Dashboard -> Appearance -> Customize -> Additional CSS
Below is the code you need to copy.
.photomania_widget_social ul li a[href*="www.tickettotakeoff.com/subscribe-to-rss"]::before { content: "\f09e"; }
This will do the trick.
Hope it helps.
Regards.December 26, 2016 at 6:33 am #26718EZiserParticipantHi @wensolutions,
1. The code didn’t work. You can see it implemented on my site now (www.tickettotakeoff.com) and the broken icon is still present.
2. What theme were you seeing previously. This has me worried…
3. Why is my custom link opening in a new window, even though that box is unchecked?December 26, 2016 at 6:59 am #26720wensolutionsKeymasterHello eziser,
All your queries have been answered below,
1. The code didn’t work. You can see it implemented on my site now (www.tickettotakeoff.com) and the broken icon is still present.
We inspected your site and we think that you have not properly added the code or you might have forgot to save the changes on the customizer.
2. What theme were you seeing previously. This has me worried…
It might probably be nothing, it can just be a cache issue or due to some connection problem here as we have not seen that issue ever since. Don’t worry if that issue occurs again we are always here to help anytime 🙂
3. Why is my custom link opening in a new window, even though that box is unchecked?
Yes, since social menu normally links to external site we have set it to open in new tab automatically but if you want to disable the feature you will have to create a child theme ( to create the child theme you can use this easy child theme creating plugin )
After creating the child theme just add the below given code on functions.php file of the child theme,
Hope it helps.
Regards,December 26, 2016 at 8:50 am #26723EZiserParticipantSuccess! Everything is working perfectly now. 🙂
1. The icon wasn’t being displayed because I had copied the code through my email provider (Gmail) which seems to have formatted some of the characters. I re-copied the code from the ticket directly, and it works great.
2. Okay, I will monitor.
3. Updated my child theme’s function.php. The redirect for this icon no longer opens in a new window.Thanks so much for your help! 🙂
December 26, 2016 at 10:41 pm #26757wensolutionsKeymasterHello,
Nice to know that the problem has been solved. If there are any further query, then, please feel free to post them.
We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
https://wordpress.org/support/view/theme-reviews/photomaniaRegards,
-
AuthorPosts
- You must be logged in to reply to this topic.