Tagged: x
-
AuthorPosts
-
March 31, 2016 at 9:00 am #860855
The Customize dashboard allows for setting many of the visual aspects of X including Custom CSS and Javascript. It would be nice if the Custom settings also included the ability to enter a list of stylesheets. In my specific case, I want to use Font-Awesome using the actual FA classes. ie, I want to be able to enter code such as:
<span style=”color:#f00″>
<i class=”fa fa-flag fa-flip-horizontal”></i> <i class=”fa fa-flag fa-flip-horizontal”></i>
</span>instead of using WP shortcodes, which don’t support the flip-horizontal feature btw. In my searching the knowledge base, this is a common request that gets the answer “create a child theme”. Given the number of people asking for this ability, it seems that X should be updated to make using Font-Awesome easier. My workaround instead of creating a child theme (I know, not the right solution) was to update functions.php directly with:
add_action(‘wp_head’, function(){ echo ‘<link href=”//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css” rel=”stylesheet” >’; }, 99999 );
March 31, 2016 at 4:48 pm #861528Hi there,
Thanks for this and we have already noted on this request and was added on our Feature List.
Thanks a lot!
-
AuthorPosts