{"id":3421,"date":"2019-11-24T22:35:25","date_gmt":"2019-11-24T14:35:25","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=3421"},"modified":"2019-11-25T03:11:35","modified_gmt":"2019-11-24T19:11:35","slug":"wordpress-add-css","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/news\/wordpress-add-css.html","title":{"rendered":"WordPress\u6dfb\u52a0css\u7684\u65b9\u6cd5"},"content":{"rendered":"<p><strong>WordPress\u600e\u4e48\u6dfb\u52a0CSS\u4ee3\u7801<\/strong>\uff1f<\/p>\n<p>\u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u76f4\u63a5\u4f7f\u7528\u4e3b\u9898\u7684<strong>\u81ea\u5b9a\u4e49<\/strong>\u529f\u80fd\u6216\u8005\u4fee\u6539\u4e3b\u9898<strong>\u6837\u5f0f\u8868<\/strong>\u6587\u4ef6<strong>style.css<\/strong>\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p><strong>\u65b9\u6cd5\u4e00\uff1a\u5916\u89c2\u7684\u81ea\u5b9a\u4e49\u529f\u80fd\uff1a<\/strong><\/p>\n<p>\u4f7f\u7528\u5916\u89c2\u81ea\u5b9a\u4e49\u529f\u80fd\u5c31\u53ef\u4ee5\u5feb\u901f\u6dfb\u52a0css\u4ee3\u7801\u5230\u4f60\u5f53\u524d\u4f7f\u7528\u7684\u4e3b\u9898\u6587\u4ef6\u91cc\u9762\u3002\u65b9\u6cd5\u5982\u4e0b:<\/p>\n<ol>\n<li>\u767b\u5f55WordPress\u7f51\u7ad9\u540e\u53f0<\/li>\n<li>\u9009\u62e9\u5916\u89c2\uff0c\u81ea\u5b9a\u4e49\u3002<\/li>\n<li>\u5728\u201c\u989d\u5916\u7684css\u201d\u91cc\u9762\u63d2\u5165css\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e86\u3002<\/li>\n<\/ol>\n<p><a href=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/11\/ScreenShot00087.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3423\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/11\/ScreenShot00087.png\" alt=\"\u4e3b\u9898\u81ea\u5b9a\u4e49\uff0c\u6dfb\u52a0\u989d\u5916\u7684css\u4ee3\u7801\" width=\"664\" height=\"294\" \/><\/a><\/p>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u5feb\u6377\uff0c\u9002\u7528\u4e8e\u5c0f\u90e8\u5206css\u4ee3\u7801\u7684\u6dfb\u52a0\u548c\u4fee\u6539\uff0c\u4f8b\u5982\u4e0a\u56fe\u7684\u4ee3\u7801\u662f<a href=\"https:\/\/blog.naibabiji.com\/skill\/qu-diao-google-adsense-huang-se-bei-jing-kuang.html\">\u53bb\u6389Google\u5e7f\u544a\u9ec4\u8272\u80cc\u666f\u6846\u7684\u4ee3\u7801<\/a>\u3002<\/p>\n<p><strong>\u65b9\u6cd5\u4e8c\uff1a\u7f16\u8f91\u4e3b\u9898\u6837\u5f0f\u8868\u6587\u4ef6style.css<\/strong><\/p>\n<ol>\n<li>\u767b\u5f55WordPress\u7f51\u7ad9\u540e\u53f0\uff1b<\/li>\n<li>\u9009\u62e9\u5916\u89c2\uff0c\u4e3b\u9898\u7f16\u8f91\u5668\uff0c\u9ed8\u8ba4\u5c31\u662f\u4fee\u6539\u6837\u5f0f\u8868 (style.css)<\/li>\n<li>\u5728\u6837\u5f0f\u8868 (style.css)\u91cc\u9762\u63d2\u5165\u4f60\u9700\u8981\u6dfb\u52a0\u7684css\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e86\u3002<\/li>\n<\/ol>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u662f\u6bd4\u8f83\u5e38\u7528\u7684\u4fee\u6539\u548c\u6dfb\u52a0css\u4ee3\u7801\u7684\u65b9\u6cd5\u3002<\/p>\n<p><strong>\u5176\u4ed6\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>\u5176\u4ed6\u7684\u6dfb\u52a0css\u4ee3\u7801\u7684\u65b9\u6cd5\u8fd8\u6709\u5efa\u7acb\u5b50\u4e3b\u9898\uff0c\u4fee\u6539\u5b50\u4e3b\u9898\u7684\u6837\u5f0f\u8868\u6587\u4ef6\uff0c\u6216\u8005\u4f7f\u7528\u63d2\u4ef6\u6dfb\u52a0css\u4ee3\u7801\u7684\u65b9\u6cd5\uff0c\u4e0d\u8fc7\u6ca1\u6709\u65b9\u6cd5\u4e00\u548c\u65b9\u6cd5\u4e8c\u65b9\u4fbf\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u5982\u679c\u4f60\u60f3\u8981<strong>\u7ed9wordpress\u6dfb\u52a0css\u4ee3\u7801<\/strong>\uff0c\u76f4\u63a5\u7528\u4e0a\u9762\u7684\u65b9\u6cd5\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;3421&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;6&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;4.2&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;4.2\\\/5 - (6 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;WordPress\u6dfb\u52a0css\u7684\u65b9\u6cd5&quot;,&quot;width&quot;:&quot;115.6&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 115.6px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            4.2\/5 - (6 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u600e\u4e48\u6dfb\u52a0CSS\u4ee3\u7801\uff1f \u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u76f4\u63a5\u4f7f\u7528\u4e3b\u9898\u7684\u81ea\u5b9a\u4e49\u529f\u80fd\u6216\u8005\u4fee\u6539\u4e3b\u9898\u6837\u5f0f\u8868\u6587\u4ef6style. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"WordPress\u6dfb\u52a0css\u7684\u65b9\u6cd5 - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"WordPress\u600e\u4e48\u6dfb\u52a0CSS\u4ee3\u7801 \uff1f \u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u76f4\u63a5\u4f7f\u7528\u4e3b\u9898\u7684 \u81ea\u5b9a\u4e49 \u529f\u80fd\u6216\u8005\u4fee\u6539\u4e3b\u9898 \u6837\u5f0f\u8868 \u6587\u4ef6 style.css \u5c31\u53ef\u4ee5\u4e86\u3002 \u65b9\u6cd5\u4e00\uff1a\u5916\u89c2\u7684\u81ea\u5b9a\u4e49\u529f\u80fd\uff1a \u4f7f\u7528\u5916\u89c2\u81ea\u5b9a\u4e49\u529f\u80fd\u5c31\u53ef\u4ee5\u5feb\u901f\u6dfb\u52a0css\u4ee3\u7801\u5230\u4f60\u5f53\u524d\u4f7f\u7528\u7684\u4e3b\u9898\u6587\u4ef6\u91cc\u9762\u3002\u65b9\u6cd5\u5982\u4e0b: \u767b\u5f55WordPress\u7f51\u7ad9\u540e\u53f0 \u9009\u62e9\u5916\u89c2\uff0c\u81ea\u5b9a\u4e49\u3002 \u5728\u201c\u989d\u5916\u7684css"},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3421","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/3421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=3421"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/3421\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=3421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=3421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=3421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}