Tagged: x
-
AuthorPosts
-
December 21, 2016 at 8:26 am #1300544
afitz10sParticipantHello,
Is there an easy-ish way to change the social media icons using css? Using for example:[x_icon type=”facebook”]. I just want to swap a few of my social media icons and I have all of thse little short codes for each icon ready to go. Can you help me with where/how to do this? Thanks!
December 21, 2016 at 8:48 am #1300568
DarshanaModeratorHi there,
Thanks for writing in! You can change the complete functionality, please check the following post for a possible implementation (https://community.theme.co/forums/topic/want-to-add-custom-social-media-icons-how-to-do-it/page/2/#post-318884).
Hope that helps.
December 21, 2016 at 9:16 am #1300583
afitz10sParticipantThanks for the link, but not getting help from that. In fact, my brain just exploded. Might as well have sent me link about string theory.
Can you just give me some specific help please? I do have the child theme set up, but I have been just adding a few changes to the additional css under customize.
December 21, 2016 at 11:11 am #1300736
JoaoModeratorHi There,
If you look the very first post of Rue Nel on the thread above it explains it, what part you did not understand. please read the code you will change the code for example:
if ( $facebook ) : $output .= '<a href="' . $facebook . '" class="facebook" title="Facebook" target="_blank"><i class="x-icon-facebook-square" data-x-icon=""></i></a>'; endif;for
if ( $facebook ) : $output .= '<a href="' . $facebook . '" class="facebook" title="Facebook" target="_blank"><i class="x-icon-facebook" data-x-icon=""></i></a>'; endif;As you can see I changed the icon x-icon-facebook-square for x-icon-facebook
Hope it helps
Joao
December 21, 2016 at 5:15 pm #1301020
afitz10sParticipantUhhh…I’m pretty much a noob so you have to talk to me like an 8 year old. I need step-by-step directions. Where exactly to put things etc. Pictures would help if you can.
December 21, 2016 at 8:16 pm #1301276
FriechModeratorHi There,
Is the icon that you want to use is not available here?
Please provide us your site URL and point us the icons that you want to change. We will try to change it with just a custom CSS.
Thanks.
December 22, 2016 at 5:44 am #1301595
afitz10sParticipantThis reply has been marked as private.December 22, 2016 at 7:09 am #1301642
Paul RModeratorHi,
To change the icons, you can add this in your child theme’s style.css
.x-social-global .x-icon-facebook-square:before { content: "\f09a"; } .x-social-global .x-icon-twitter-square:before { content: "\f099"; } .x-social-global .x-icon-youtube-square:before { content: "\f167"; } .x-social-global .x-icon-instagram:before { content: "\f16d"; }Hope that helps.
December 22, 2016 at 9:27 am #1301786
afitz10sParticipantPaul R…you are the man! The only problem (if it is a problem) I’m having is that nothing changes when I add all of my custom css to my x-child theme style.css, the changes only work under the custom tab or additional css tab. Any idea? Or do I need to start a new topic?
December 22, 2016 at 10:58 am #1301855
JoaoModeratorHi There,
Please paste your CSS here to check for syntax mistakes.
Let us know how it goe,s,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1300544 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
