未分類– category –
-
【SWELL】固定ページのサブタイトルの線とスペースを消したい
サブタイトルのデザインをカスタマイズしたい・・・ WordPressの人気テーマ「SWELL」では、固定ページのサブタイトルを設定することができ、自動的にページタイトルの右側に設定されます。 配置や文字の大きさはCSSでカスタマイズ可能ですが、サブタイトル... -
【Arkhe】ヘッダー右側に電話番号とお問い合わせリンクをつける
/** * ヘッダー */ add_action( 'arkhe_header_right_content', 'add_custom_header_right_content' ); function add_custom_header_right_content() { // インラインCSSを追加(ホバー時のスタイル) echo ' <style> .custom-p... -
【Arkhe】トップタイトルエリアにオーバーレイを付ける
#top_title_area:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; color: rgba(0,0,0,0.2); z-index: 1; } -
スクロールを付ける
<div class="scroll-indicator"> <span>Scroll</span> <div class="line"></div> </div> .scroll-indicator { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); text... -
【CSS】文字の背景に画像を入れたい
.back-image { position: relative; padding: 20px; text-align: center; background-image: url('画像のURL'); background-size: contain; background-position: center; background-repeat: no-repeat; }
1