Tagged: x
-
AuthorPosts
-
September 8, 2016 at 4:24 pm #1167068
ylplParticipantHi there,
I checked the archives to install social media buttons at the top of my main sidebar at http://dev.ylpl.net/wordpress/ and even though the margins and dimensions are perfect the icons are still missing. Would you be able to help out with this?
Thanks,
Daniel
September 8, 2016 at 11:49 pm #1167539
FriechModeratorHi Daniel,
Thanks for writing in! Would you mind sharing with us the code/shortcode you use for your icons? Or provide us login credentials in private reply so we can take a closer look.
Cheers!
September 13, 2016 at 3:38 pm #1173773
ylplParticipantHi there,
I applied this HTML code to my text widget:
<div class="x-social-global"> <a href="#" class="facebook" title="Facebook" target="_blank"><i class="x-icon-facebook-square" data-icon="http://dev.ylpl.net/wordpress/wp-content/uploads/2016/09/icon175x175.png"></i></a> <a href="#" class="twitter" title="Twitter" target="_blank"><i class="x-icon-twitter-square" data-icon=""></i></a> <a href="#" class="Instagram" title="Instagram" target="_blank"><i class="x-icon-instagram" data-icon=""></i></a> <a href="#" class="pinterest" title="Pinterest" target="_blank"><i class="x-icon-pinterest-square" data-icon=""></i></a> </div>As you can see, I uploaded an image for Facebook and plugged in the URL for my data-icon but that was still unsuccessful.
The CSS Code I applied was:
.widget .x-social-global a { margin-top: 0px; } .widget .x-social-global a { color: #ffffff; background-color: #1abc9c; margin-left: 6px; width: 32px; height: 32px; line-height: 32px; text-align: center; font-size: 18px; text-shadow: none; } .widget .x-social-global a:first-child { margin-left: 0px; } .widget .x-social-global a.foursquare { font-size: 17px }It’s set up pretty much how I want it but the icons are missing. Would you be able to let me know what I did wrong or what I’m missing?
Thanks,
Daniel
September 13, 2016 at 4:25 pm #1173864
ylplParticipantGood News! I seemed to have fixed the problem. There’s just one nagging little thing which is in the Title Bar of my Text Widget: there’s a “greater than” symbol in front of “Follow the Library.” Any way to get rid of that?
Thanks again,
Daniel
September 13, 2016 at 5:42 pm #1173920
ylplParticipantAlso, is there any way to provide additional spacing between each social media icon?
Thanks again!
Daniel
September 13, 2016 at 7:32 pm #1174024
JadeModeratorHi Daniel,
You can add this under Custom > CSS in the Customizer.
.widget .h-widget:before { display: none; } #text-12 .textwidget a { display: inline-block; margin-right: 8px; }September 14, 2016 at 11:16 am #1175023
ylplParticipantThat did the trick. Thank you so much, I really appreciate it! 🙂
Daniel
September 14, 2016 at 12:01 pm #1175105
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1167068 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
