wordpress 網站變更字型匯總

wordpress 更改字體: 改成微軟正黑體 body{font-family: arial,“Microsoft JhengHei”,“微軟正黑體“,sans-serif !important;}     在 Customer CSS裡面貼上以下:   @font-face { /*圓體*/  font-family: ‘cwTeXYen’;  font-style: normal;  font-weight: 500;  src:...

WordPress Recent Posts Extended Customer CSS範例

.rpwe-block ul{ list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; } .rpwe-block li{ border-bottom: 1px solid #eee; margin-bottom: 5px; padding-bottom: 0px; list-style-type: none; } .rpwe-block a{ display: inline !important;...

防止網站被盜圖程式碼

在Head部加入以下代碼: <script> jQuery( document ).ready(function($) { $(‘#main-content img’).bind(‘contextmenu’, function(e) { alert(“本站圖像均受版權保護,請勿任意轉載盜用!”); e.preventDefault(); }); });...

wordpress 自訂網頁字型

先在頭部加入: <style> @import url(‘https://fonts.googleapis.com/css?family=Noto+Sans+TC&display=swap’); </style> 在Customer CSS 中加入以下: h1, h2, h3, h4, h5, h6, p, bloakquote, address, big, cite, code,  em, font,  img, small, stritd, body {font-family: Verdana,...

QQ 線上客服程式碼

QQ 線上客服 <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″...