Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1275092
    Sabacon
    Participant

    Hi,

    Is there a way to change to icon to see when hovering over a recent post? Currently is a note page and I want to change that icon.

    Gerald

    #1275098
    Joao
    Moderator

    Ho Gerald,

    If you want to change your icon add the following code to Appereance > Customizer > Custom > CSS

    Changge \f008 for the desired icon.

    .x-recent-posts .format-standard .x-recent-posts-img:before {
        content: "\f008";
    }

    Hope it helps

    Joao

    #1275240
    Sabacon
    Participant

    1) Which icon does the \f008 refer too?
    2) Where to do I find the codes and icons?
    3) How I can use my own custom icon?

    #1275504
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    1) \f008 represents fa-film icon.

    2) You can find X Theme compatible icons here

    Icons

    3) Please walkthrough following thread to integrate custom icon:

    https://community.theme.co/forums/topic/how-do-i-add-a-custom-icon-pack-that-will-work-with-xtheme-short-codes/

    Thanks.

    #1275574
    Sabacon
    Participant

    Okay

    I think I’ll use the microphone icon xf130.

    .x-recent-posts .format-standard .x-recent-posts-img:before {
    content: “\xf130”;
    }

    is there way to use the microphone for one category and the file xf0f6 the other category?

    #1275612
    Rupok
    Member

    Hi there,

    It could be possible. Can you provide your URL and point us the Recent Post element and the category?

    Meantime, you can try like this :

    .x-recent-posts .category-micrphone .x-recent-posts-img::before {
      content: "\xf130";
    }

    Let’s use the correct slug of your category to replace .category-micrphone

    Cheers!

    #1275620
    Sabacon
    Participant

    The site: sabacon.net. The recent posts are on the home page about half way down under Masterminds of Business

    #1275628
    Christopher
    Moderator

    Hi there,

    Icons could be edited base on posts format. Regretfully what you’re trying to achieve isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
    Please update your code to :

    .x-recent-posts .format-standard .x-recent-posts-img:before {
        content: "
    .x-recent-posts .format-standard .x-recent-posts-img:before {
    content: "\0f130";
    }
    f130"; }

    Hope it helps.

    #1275631
    Sabacon
    Participant

    But with the change in number it worked. Exactly what I wanted.

    So thanks

    #1275637
    Rupok
    Member

    Glad that you figured it out. Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!

    #1390727
    Matt Morse
    Participant

    Where do you find these codes for the icons. The link above only includes shortcodes, but I need the code in that “/0000” format for the RSS feed.

    #1391215
    Friech
    Moderator

    Hi There,

    The unicode? Please navigate here: http://fontawesome.io/icons/

    Select the icon that you want to use and copy the unicode.


    screenshot

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1275092 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>