浮動 LINE 按鈕 – 安裝說明
請將以下代碼添加到網站
1. 到 WordPress 後台 → 外觀 → 自訂 → 額外的 CSS
2. 貼上以下 CSS 代碼:
.float-contact-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; } .float-btn { display: block; width: 65px; height: 65px; border-radius: 50%; margin-bottom: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); text-align: center; line-height: 65px; color: white !important; font-weight: bold; font-size: 11px; text-decoration: none; } .line-btn { background: linear-gradient(135deg, #06C755, #00B900); } .phone-btn { background: linear-gradient(135deg, #FF6B6B, #EE5A5A); }
3. 然後到 外觀 → 小工具 → 新增 HTML 自訂義 → 貼上以下 HTML: