{"id":7,"date":"2007-09-14T13:19:55","date_gmt":"2007-09-14T12:19:55","guid":{"rendered":"http:\/\/blog.nooblet.org\/?p=7"},"modified":"2013-01-10T04:06:47","modified_gmt":"2013-01-10T04:06:47","slug":"remove-border-from-smiley-images-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2007\/remove-border-from-smiley-images-in-wordpress\/","title":{"rendered":"Remove border from smiley images in WordPress"},"content":{"rendered":"<p>The theme I use in WordPress gives all images a thin border. For smileys, this is ugly.<\/p>\n<p>Luckily WordPress gives smilies their own CSS class, so we can rectify this by making a small addition to the end of the themes stylesheet (style.css)<\/p>\n<blockquote><p><code>img.wp-smiley { border:none; }<\/code><\/p><\/blockquote>\n<p>Add this to the very bottom and it will overwrite earlier border changes to images, allowing smilies to have a special style of no border.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The theme I use in WordPress gives all images a thin border. For smileys, this is ugly. Luckily WordPress gives smilies their own CSS class, so we can rectify this by making a small addition to the end of the themes stylesheet (style.css) img.wp-smiley { border:none; } Add this to the very bottom and it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":2,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":777,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions\/777"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}