{"id":7634,"date":"2019-07-29T13:21:56","date_gmt":"2019-07-29T17:21:56","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=7634"},"modified":"2025-02-04T14:25:19","modified_gmt":"2025-02-04T19:25:19","slug":"removing-link-icons","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/removing-link-icons\/","title":{"rendered":"Removing Link Icons"},"content":{"rendered":"

Default Link Icons<\/h2>\n

The White Coat theme automatically adds helper icons to some links.<\/p>\n

Adobe PDF<\/a><\/p>\n

Word Doc<\/a><\/p>\n

Excel Spreadsheet<\/a><\/p>\n

This may not be desired on some links or buttons.<\/p>\nDownload Paper<\/a>\n

How to Remove Link Icons<\/h2>\n

To hide these icons, the class=\"no-icon\"<\/code> can be added to links and shortcode.<\/p>\n

Remove an Icon From an <a> Tag (Link)<\/h3>\n

<a class=\"no-icon\" href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/07\/AdobePDF.pdf\">Adobe PDF<\/a><\/code>
\nThe above code will produce the following link without an icon:
Adobe PDF<\/a><\/p>\n

Remove an Icon Using the [heels_custom_div]] Shortcode Wrapper<\/h3>\n

[[heels_custom_div class=\"no-icon\"]]Adobe PDF<\/a>[[\/heels_custom_div]<\/code>
\nThe above code will produce the following link without an icon: \n\n

\n\t Adobe PDF<\/a>\n<\/div>\n

Remove the Icon in the [button] Shortcode<\/h3>\n

[button
\nstyle=\"btn-default btn-lg no-icon\"
\ntitle=\"Download Paper\"
\nlink=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/07\/AdobePDF.pdf\"]<\/code>
\nThe above code will produce the following button without an icon:
Download Paper<\/a>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Default Link Icons The White Coat theme automatically adds helper icons to some links. Adobe PDF Word Doc Excel Spreadsheet This may not be desired on some links or buttons. How to Remove Link Icons To hide these icons, the class=”no-icon” can be added to links and shortcode. Remove an Icon From an <a> Tag … Read more<\/a><\/p>\n","protected":false},"author":8577,"featured_media":0,"parent":2212,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-7634","page","type-page","status-publish","hentry","odd"],"acf":[],"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/8577"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=7634"}],"version-history":[{"count":26,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7634\/revisions"}],"predecessor-version":[{"id":12243,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7634\/revisions\/12243"}],"up":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/2212"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=7634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}