Home Forums WoodMart support forum Font awesome element in the 'extra menu list' item

Font awesome element in the 'extra menu list' item

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #283919

    Skimi
    Participant

    Hello Team, I wonder, how to add a font awesome icon for extarnal links (external-link-alt) to the links in the extra menu list.

    #283949

    Hello,

    Please provide the page URL and screen where you want to add the icons I will suggest the best way to do.

    Best Regards

    #283954

    Skimi
    Participant

    Hello Elise, I post it in privat. Thank you so much!

    Skimi

    Attachments:
    You must be logged in to view attached files.
    #284032

    Hello,

    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

    #284036

    Skimi
    Participant

    Hello Elise, thank you. It’s done. But, how I can add the ‘external-link-alt’ to the end of the shown link?

    #284108

    Hello,

    Please clarify: do you want to add a class to the link or amend HTML structure of the link?

    Best Regards

    #284112

    Skimi
    Participant

    Hi 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!

    #284326

    Hello,

    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

    #284329

    Skimi
    Participant

    Hi Elise, thank you 🙂
    Skimi

    #284435

    We 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

Viewing 10 posts - 1 through 10 (of 10 total)