Tagged: x
-
AuthorPosts
-
July 3, 2016 at 9:18 am #1070376
RITTERSPParticipantI need to make these icons inline and have them hyperlinked as well. What do I need to do to allow the icon elements to be inline?
July 3, 2016 at 10:07 am #1070405
ThaiModeratorHi There,
Please remove your icons, then using the raw content element with the following code:
<div class="x-custom-socials"> <a href="#"><i class="x-icon aligncenter x-icon-desktop" style="text-align: center; font-size: 20px;" data-x-icon="" aria-hidden="true"></i></a> <a href="#"><i class="x-icon aligncenter x-icon-facebook" style="text-align: center; font-size: 20px;" data-x-icon="" aria-hidden="true"></i></a> <a href="#"><i class="x-icon aligncenter x-icon-twitter" style="text-align: center; font-size: 20px;" data-x-icon="" aria-hidden="true"></i></a> <a href="#"><i class="x-icon aligncenter x-icon-instagram" style="text-align: center; font-size: 20px;" data-x-icon="" aria-hidden="true"></i></a> <a href="#"><i class="x-icon aligncenter x-icon-pinterest" style="text-align: center; font-size: 20px;" data-x-icon="" aria-hidden="true"></i></a> <a href="#"><i class="x-icon aligncenter x-icon-youtube" style="text-align: center; font-size: 20px;" data-x-icon="" aria-hidden="true"></i></a> </div>After that add the following CSS under Customizer > Custom > Global CSS:
.x-custom-socials { text-align: center; } .x-custom-socials a { display: inline-block; margin-right: 10px; }http://i.imgur.com/YTtXvMO.png
Hope it helps 🙂
July 3, 2016 at 10:42 am #1070427
RITTERSPParticipantthx!
July 3, 2016 at 10:56 am #1070444
RupokMemberYou are welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1070376 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
