Home › Forums › WoodMart support forum › Font awesome element in the 'extra menu list' item
Font awesome element in the 'extra menu list' item
- This topic has 9 replies, 2 voices, and was last updated 3 years, 10 months ago by
Elise Noromit.
-
AuthorPosts
-
April 17, 2021 at 4:41 pm #283919
SkimiParticipantHello Team, I wonder, how to add a font awesome icon for extarnal links (external-link-alt) to the links in the extra menu list.
April 17, 2021 at 8:57 pm #283949
Elise NoromitMemberHello,
Please provide the page URL and screen where you want to add the icons I will suggest the best way to do.
Best Regards
April 17, 2021 at 9:12 pm #283954
SkimiParticipantHello Elise, I post it in privat. Thank you so much!
Skimi
Attachments:
You must be logged in to view attached files.April 18, 2021 at 9:59 am #284032
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.wd-sub-menu li a { padding-top: 0; padding-bottom: 0; }
Set the paddings as per your needs.
Best Regards
April 18, 2021 at 10:13 am #284036
SkimiParticipantHello Elise, thank you. It’s done. But, how I can add the ‘external-link-alt’ to the end of the shown link?
April 18, 2021 at 8:46 pm #284108
Elise NoromitMemberHello,
Please clarify: do you want to add a class to the link or amend HTML structure of the link?
Best Regards
April 18, 2021 at 8:53 pm #284112
SkimiParticipantHi Elise, sorry that it is not quite understandable. In the link list there are links that lead away from the website. I would like to mark these with a symbol at the end, so that the user knows that he is leaving the website. But this should not be automatically for all links.
I would like to add this awesome font symbol at the end of the link description. I tried to insert it, but the awesome font is not recognized there and only a small square is displayed. https://fontawesome.com/icons/external-link-alt
Hope that helps. Thank you!
April 19, 2021 at 12:56 pm #284326
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.wd-nav-vertical>li>a span:after{ font-family: 'Font Awesome 5 Free'; content: " \f03a"; font-weight: 900; }
Change the number of the icon.
If you do not want to assign the icon to all the links, add the class to the lings, and I will correct the CSS, you can find the instruction on how to add the class here: https://xtemos.com/docs/woodmart/product-category-menu/Best Regards
April 19, 2021 at 1:09 pm #284329
SkimiParticipantHi Elise, thank you 🙂
SkimiApril 19, 2021 at 8:10 pm #284435
Elise NoromitMemberWe are always happy to help you, write to us when you have any difficulties or issues with our theme.
We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service
Thank you in advance
-
AuthorPosts
- You must be logged in to create new topics. Login / Register