ログインページなど、ショップのSSLページをカスタマイズする方法です。
目的に合わせて各ページに以下のソースを設置し、任意のカラーに変更してください。
編集方法
オリジナルの背景に変更したい
body {
background-color: #******; /* 背景色を指定する場合 */
background-image: url(https://********.png); /* 背景イメージを指定する場合 */
}
初心者モードで背景色を変更したい
※ご利用中のテンプレートによっては対応していない場合もございます。あらかじめご了承ください。
body {
background: <{$page_bgcolor}>;
}
ボタンの色を変更したい
通常ボタン
.c-button,
.c-button:link,
.c-button:hover,
.c-button:active,
.c-button:visited {
color: #35454c; /* ボタンの文字の色を指定 */
}
.c-button {
background: #eff2f4; /* 通常時 ボタンの背景色を指定 */
}
.c-button:hover {
background: #dfe5e8; /* マウスオーバー時 ボタンの背景色を指定 */
}
送信ボタン
.c-button--primary,
.c-button--primary:link,
.c-button--primary:hover,
.c-button--primary:active,
.c-button--primary:visited {
color: #fff; /* ボタンの文字の色を指定 */
}
.c-button--primary {
background: #2196f3; /* 通常時 ボタンの背景色を指定 */
}
.c-button--primary:hover {
background: #1e87da; /* マウスオーバー時 ボタンの背景色を指定 */
}
解除・退会ボタン
.c-button--danger,
.c-button--danger:link,
.c-button--danger:hover,
.c-button--danger:active,
.c-button--danger:visited {
color: #86251e; /* ボタンの文字の色を指定 */
}
.c-button--danger {
background: #feedeb; /* 通常時 ボタンの背景色を指定 */
}
.c-button--danger:hover {
background: #fdd9d7; /* マウスオーバー時 ボタンの背景色を指定 */
}
テキスト入力エリアの色を変更したい
.c-input--text {
border-color: #d7dee2; /* 通常時 入力エリアのボーダー色を指定 */
}
.c-input--text:focus {
border-color: #607d8b; /* フォーカス時 入力エリアのボーダー色を指定 */
}
コメント
0件のコメント
記事コメントは受け付けていません。