{"id":5624,"date":"2017-03-08T16:06:01","date_gmt":"2017-03-08T16:06:01","guid":{"rendered":"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/?p=5624"},"modified":"2017-03-14T23:50:50","modified_gmt":"2017-03-14T23:50:50","slug":"adding-icons-to-web-page-in-weblearn","status":"publish","type":"post","link":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/2017\/03\/adding-icons-to-web-page-in-weblearn\/","title":{"rendered":"Adding &#8216;awesome&#8217; icons to web page in WebLearn"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5625 alignright\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-flag.png\" alt=\"\" width=\"225\" height=\"225\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-flag.png 225w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-flag-150x150.png 150w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-flag-144x144.png 144w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/>As I&#8217;m sure you&#8217;ve noticed, most pages in WebLearn 11 use a new icon set: Font Awesome icons. You may well recognise these icons from other websites or phone &#8216;Apps&#8217;. Unlike the previous (&#8216;Silk&#8217;) icons these are not images, they are, as the name would suggest, a font. This makes them scalable and colourable (if that&#8217;s a word).<\/p>\n<p>Font Awesome icons are open source and can be customised in many ways \u2014 size, colour, drop shadow, and anything that can be done with the power of CSS. They can even be made to spin around if that&#8217;s one of your hobbies.<\/p>\n<h2>Using Font Awesome icons on your pages<\/h2>\n<p>To add a Font Awesome Icon to a WebLearn page, open the HTML editor and locate the Font Awesome &#8216;flag&#8217; icon at the end of the middle row (when using WebLearn on a desktop machine).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5626\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa.png\" alt=\"\" width=\"843\" height=\"522\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa.png 843w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-300x186.png 300w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-768x476.png 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/p>\n<p>You can then select a suitable icon, either search by name or browse by using the scroll bars.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5628\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-choose-1.png\" alt=\"\" width=\"684\" height=\"717\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-choose-1.png 684w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-choose-1-286x300.png 286w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/p>\n<p>Basic customisation can be effected whilst using the picker but you can use any CSS directives via the &#8220;Source&#8221; view of the HTML WYSIWYG editor.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5629\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-use.png\" alt=\"\" width=\"833\" height=\"507\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-use.png 833w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-use-300x183.png 300w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2017\/03\/fa-use-768x467.png 768w\" sizes=\"auto, (max-width: 833px) 100vw, 833px\" \/><\/p>\n<p>That&#8217;s all there is too it. Don&#8217;t go too crazy with the spinning though!<\/p>\n<h2>Links<\/h2>\n<ul>\n<li><a href=\"http:\/\/fontawesome.io\/\">Font Awesome web site<\/a><\/li>\n<li><a href=\"http:\/\/fontawesome.io\/cheatsheet\/\">Font Awesome cheat sheet<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;m sure you&#8217;ve noticed, most pages in WebLearn 11 use a new icon set: Font Awesome icons. You may well recognise these icons from other websites or phone &#8216;Apps&#8217;. Unlike the previous (&#8216;Silk&#8217;) icons these are not images, they &hellip; <a href=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/2017\/03\/adding-icons-to-web-page-in-weblearn\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90,105],"tags":[206,407,510],"class_list":["post-5624","post","type-post","status-publish","format-standard","hentry","category-sakai","category-weblearn","tag-content","tag-help","tag-html-wysiwyg-editor"],"_links":{"self":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/5624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/comments?post=5624"}],"version-history":[{"count":4,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/5624\/revisions"}],"predecessor-version":[{"id":5674,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/5624\/revisions\/5674"}],"wp:attachment":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/media?parent=5624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/categories?post=5624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/tags?post=5624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}