Tagged: x
-
AuthorPosts
-
May 8, 2016 at 4:15 am #980843
hjafferParticipantHi X
I managed to add font awesome icons before tab headings on one of my pages in the custom CSS section but that was only good before I saved the page. I then found out that instead of using one slash I had to use 2, e.g. “\\f009”. That doesn’t do it either as whenever I save the page the slashes are removed automatically. Here’s an example code:
.x-nav-tabs.appTab > li.appTabList1 > a:before { content: "\\f00b"; font-family: fontawesome; float: left; margin-top: 1px; }Thanks
May 8, 2016 at 4:19 am #980848
ChristopherModeratorHi there,
Customize removes backslash, please setup a child theme and add your CSS in style.css file.
Thanks.
May 9, 2016 at 3:02 am #981827
hjafferParticipantThanks Christopher.
May 9, 2016 at 3:53 am #981874
Paul RModeratorYou’re welcome! 🙂
May 9, 2016 at 7:05 am #982101
hjafferParticipantOne more question in the same context. Feel free to create a new thread for it if you think it’s more useful to do though.
How would you stop displaying one tab based on screen size? I’ve created two tabs and I want one of them to disappear, and its content, when viewed on mobile.
Thanks
May 9, 2016 at 8:39 am #982243
ChristianModeratorRegretfully this 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. Basically, you would need to create your own media queries. Thanks for understanding. Take care!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-980843 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
