[WordPress] 外掛分享: Genesis Site Title Styles

首頁外掛目錄 › Genesis Site Title Styles
WordPress 外掛 Genesis Site Title Styles 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
300+
安裝啟用
★★★★★
5/5 分(2 則評價)
1687 天前
最後更新
0%
問題解決
WordPress 3.8.0+ v1.10 上架:2015-04-20

內容簡介

這個外掛可以為 Genesis 網站標題中的每個單詞添加一個 span 標籤,以便使用 CSS 進行單獨的樣式設定。樣式設定可使用 nth-child() 選擇器進行。

分別對每個單詞進行樣式設定:

對第一個單詞進行樣式設定:

.site-title span:nth-child(1) {
在這裡添加你的樣式
}

對第二個單詞進行樣式設定:

.site-title span:nth-child(2) {
在這裡添加你的樣式
}

對第三個單詞進行樣式設定:

.site-title span:nth-child(3) {
在這裡添加你的樣式
}

閱讀更多有關我們創建此外掛的原因以及如何對其進行樣式設定的示例。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.10) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Genesis Site Title Styles」→ 直接安裝(推薦)

原文外掛簡介

This plugin adds a span tag around each word in the Genesis site title for separate styling with css. Styling is done with the nth-child() selector.
Style each word separately:
Style the first word:
.site-title span:nth-child(1) {
add your styles here
}
Style the second word:
.site-title span:nth-child(2) {
add your styles here
}
Style the third word:
.site-title span:nth-child(3) {
add your styles here
}
Read more about why we created the plugin here along with examples of how to style them.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon