Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #617373

    MexConcept
    Participant

    Hi team,

    we’re trying to find the full icon list (apparently there are 350 included in X) however the closest we can find is this: http://theme.co/x/demo/integrity/1/shortcodes/icon-list/

    Basically we need to replace the topbar social icons with others, and need to customize the colors.

    #1 where can we find the full X icon list (with it’s implementation code)
    #2 how can we change the standard color of the icon
    #3 how can we change the hover over color of the icon

    Thanks!

    #617374

    MexConcept
    Participant
    This reply has been marked as private.
    #617594

    Lely
    Moderator

    Hello There,

    Thanks for posting in and for the access above.
    To achieve that, please add the following at the end of your Topbar content:

    <div class="custom-social">
      <i class="x-icon x-icon-book" data-x-icon=""></i>
      <i class="x-icon x-icon-anchor" data-x-icon=""></i>
      <i class="x-icon x-icon-archive" data-x-icon=""></i>
    </div>

    You may refer to this list of icons that you want to use:http://theme.co/x/demo/integrity/1/shortcodes/icons/
    Please also add the following custom CSS via Appearance > Customize > Custom > CSS

    .custom-social {
        display: block;
        clear: both;
        text-align: right;
        font-size: 41px; /*Adjust to your preferred icon size*/
        color: red; /*Change to your preferred icon color*/
    }
    .custom-social .x-icon:hover {
        color: blue; /*Change to your preferred icon hover color*/
    
    }
    .x-topbar .x-social-global {
        display: none; /*hides current social icons*/
    }

    Hope this helps.

    #618936

    MexConcept
    Participant

    Hi, thanks for the info 🙂

    When trying to implement, this, there’s something missing (I believe it’s unicode values):

    When we take your code: <i class="x-icon x-icon-book" data-x-icon=""></i> and change x-icon-book to x-icon-lock (as per http://theme.co/x/demo/integrity/1/shortcodes/icons/) :
    <i class="x-icon x-icon-lock" data-x-icon=""></i> the “book” is still there, instead of the “lock” see here for reference:
    book

    In the Customizer, this little icon appears:
    icon

    Or what would we need to change to make these changes? it’s this little icon “” we don’t know how to reproduce/change.

    Thanks!

    #619072

    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    The icon type is not really decided by the class name you changed. But the data that is inside the data-x-icon=""

    Please change that to this,

    data-x-icon="&#xf023;"

    You may check some other icon codes here http://fortawesome.github.io/Font-Awesome/cheatsheet/

    Cheers!

    #621788

    MexConcept
    Participant

    Thanks, this is what we needed!

    Just as suggestion: the cheat-sheet/unicode could be included with the icons (http://theme.co/x/demo/integrity/1/shortcodes/icons/) so one could figure out the code without contacting support=less time consumption for support&client 🙂

    best regards

    #621810

    Thai
    Moderator

    You’re most welcome 🙂

    Thank you for your suggestions.