こんにちは、ふじもです。
今回は賢威7のグローバルメニューをカスタマイズしてみましょう。
まず「外観」→「テーマの編集」→「base.css」を開き、下記の部分を探して下さい。
グローバルナビ
——————————————————–*/
.global-nav{
padding: 0;
background: #111111;
}
/*グローバルナビの開閉用ボタン*/
.global-nav-panel{
display: none;
font-size: 12px;
}
.global-nav-panel span{
display: block;
min-height: 20px;
line-height: 20px;
}
.icon-gn-menu{
padding-left: 25px;
background: url(./images/icon/icon-gn-menu.png) left center no-repeat;
}
.icon-gn-close{
padding-left: 25px;
background: url(./images/icon/icon-gn-close.png) left center no-repeat;
}
/*Retina(高解像度)ディスプレイ用*/
@media screen and (-webkit-min-device-pixel-ratio:2),
(min-resolution: 2dppx){
.icon-gn-menu{
background: url(./images/icon/icon-gn-menu@2x.png) left center no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
.icon-gn-close{
background: url(./images/icon/icon-gn-close@2x.png) left center no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
}
.global-nav .show-menu,
.global-nav .show-menu li ul{
display: block!important;
}
.global-nav-in ul{
display: table;
width: 100%;
margin: 0;
padding: 0;
border-left: 1px solid #bcbcbc;
table-layout: fixed; /*メニューの幅を均等に*/
}
.global-nav-in li{
display: table-cell;
list-style: none;
position: relative;
vertical-align: middle;
margin: 0;
border-right: 1px solid #bcbcbc;
text-align: center;
}
.global-nav-in li a{
display: block;
min-height: 1.5em; /*メニュー毎に高さが変わるときに調整*/
padding: 1em; /*画像をメニューにする場合は値を0に*/
background-color: #111111;
color: #fff;
text-decoration: none;
}
.global-nav-in li a:hover,
.global-nav-in li a:active,
.global-nav-in li a:focus{
background-color: #eee;
color: #333;
}
見つけられましたら、下記の赤字部分をお好きなようにカスタマイズしてみましょう。
グローバルナビ
——————————————————–*/
.global-nav{
padding: 0;
background: #0095ff;(グローバルメニューの背景色を指定できます)
font-size: 20px;(グローバルメニューのフォントサイズを指定できます)
font-weight: bold;(グローバルメニューのフォントサイズを太字にできます)
font-family: “メイリオ”;(グローバルメニューのフォントを指定できます)
}
/*グローバルナビの開閉用ボタン*/
.global-nav-panel{
display: none;
font-size: 12px;
}
.global-nav-panel span{
display: block;
min-height: 20px;
line-height: 20px;
}
.icon-gn-menu{
padding-left: 25px;
background: url(./images/icon/icon-gn-menu.png) left center no-repeat;
}
.icon-gn-close{
padding-left: 25px;
background: url(./images/icon/icon-gn-close.png) left center no-repeat;
}
/*Retina(高解像度)ディスプレイ用*/
@media screen and (-webkit-min-device-pixel-ratio:2),
(min-resolution: 2dppx){
.icon-gn-menu{
background: url(./images/icon/icon-gn-menu@2x.png) left center no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
.icon-gn-close{
background: url(./images/icon/icon-gn-close@2x.png) left center no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
}
.global-nav .show-menu,
.global-nav .show-menu li ul{
display: block!important;
}
.global-nav-in ul{
display: table;
width: 100%;
margin: 0;
padding: 0;
border-left: 0px solid #bcbcbc;
table-layout: fixed; /*メニューの幅を均等に*/
}
.global-nav-in li{
display: table-cell;
list-style: none;
position: relative;
vertical-align: middle;
margin: 0;
border-right: 0px solid #bcbcbc;
text-align: center;
}
.global-nav-in li a{
display: block;
min-height: 1.5em; /*メニュー毎に高さが変わるときに調整*/
padding: 1em; /*画像をメニューにする場合は値を0に*/
background-color: #0095ff;(項目の背景色を指定できます)
color: #000;(項目の文字色を指定できます)
text-decoration: none;
}
.global-nav-in li a:hover,
.global-nav-in li a:active,
.global-nav-in li a:focus{
background-color: #13c;(項目にカーソルを合わせた時の背景色を指定できます)
color: #fff;(項目にカーソルを合わせた時の文字色を指定できます)
}
以上で賢威7のグローバルメニューをカスタマイズできます、ご参考にしていただければ幸いです。
ここまでお読みいただき、ありがとうございました。
pregabalin side effects long-term
pregabalin side effects long-term
nuvigil to provigil
nuvigil to provigil
nolvadex side effects bodybuilding
nolvadex side effects bodybuilding
what is metformin 500 mg used for
what is metformin 500 mg used for
can i take tylenol with prednisone
can i take tylenol with prednisone
grapefruit and lisinopril
grapefruit and lisinopril
keflex for sinus infection
keflex for sinus infection
diseases treated by ampicillin
diseases treated by ampicillin
cephalexin for bronchitis
cephalexin for bronchitis
side effects ciprofloxacin
side effects ciprofloxacin
gabapentin and trazodone
gabapentin and trazodone
still feeling chlamydia symptoms after treatment doxycycline
still feeling chlamydia symptoms after treatment doxycycline
valtrex for shingles dose
valtrex for shingles dose
azithromycin vs amoxicillin
azithromycin vs amoxicillin
gabapentin for cats dosage chart ml
gabapentin for cats dosage chart ml
bactrim et cotrimoxazole
bactrim et cotrimoxazole
buy tadalafil online cheap
buy tadalafil online cheap
ivermectin new zealand
ivermectin new zealand
where can i buy viagra over the counter
where can i buy viagra over the counter
ivermectin price comparison
ivermectin price comparison
ivermectin tablet price
ivermectin tablet price
side effects of tadalafil on long term
side effects of tadalafil on long term
stromectol 3 mg tablet price
stromectol 3 mg tablet price
donde comprar vardenafil
donde comprar vardenafil
ivermectin 1 topical cream
ivermectin 1 topical cream
purchase viagra australia
purchase viagra australia
can you buy stromectol over the counter
can you buy stromectol over the counter
vardenafil hcl levitra
vardenafil hcl levitra
order levitra
order levitra
sildenafil citrate 200 mg reviews
sildenafil citrate 200 mg reviews
rx plus pharmacy glendale ny
rx plus pharmacy glendale ny
pharmacy online 365 reviews
pharmacy online 365 reviews
tadalafil powder 10g
tadalafil powder 10g
cialis online pills
cialis online pills
sildenafil side effects long-term
sildenafil side effects long-term
levitra 60mg online
levitra 60mg online
ivermectin canada
ivermectin canada
can i stop taking spironolactone suddenly
can i stop taking spironolactone suddenly
sitagliptin 25 metformin 500
sitagliptin 25 metformin 500
voltaren interaction with enlarged prostate
voltaren interaction with enlarged prostate
tizanidine 2mg high
tizanidine 2mg high
venlafaxine side effects sexually
venlafaxine side effects sexually
tamsulosin price philippines
tamsulosin price philippines
synthroid hipertireoidismo
synthroid hipertireoidismo
does abilify cause weight gain
does abilify cause weight gain
acarbose mylan
acarbose mylan
can robaxin get you high
can robaxin get you high
protonix side effects long term use
protonix side effects long term use
semaglutide and adderall
semaglutide and adderall
repaglinide monografia
repaglinide monografia
remeron tablets
remeron tablets
actos publicos.gov.ar
actos publicos.gov.ar
how long does it take ashwagandha to work
how long does it take ashwagandha to work
celexa and wellbutrin
celexa and wellbutrin
buspar dosing
buspar dosing
aripiprazole anxiety
aripiprazole anxiety
aspirin 81 mg side effects
aspirin 81 mg side effects
amitriptyline half life
amitriptyline half life
allopurinol indication
allopurinol indication
diltiazem anal fissure
diltiazem anal fissure
flexeril reviews
flexeril reviews
flomax screens
flomax screens
ddavp maximum dosage
ddavp maximum dosage
citalopram hydrobromide 20 mg high
citalopram hydrobromide 20 mg high
divalproex depakote
divalproex depakote
diclofenac sodium ec 50 mg tablet
diclofenac sodium ec 50 mg tablet
is augmentin the same as amoxicillin
is augmentin the same as amoxicillin
how to know if effexor dose is too low
how to know if effexor dose is too low
ezetimibe properties
ezetimibe properties
pros and cons of contrave
pros and cons of contrave
cozaar xq
cozaar xq
can you take amoxicillin and ibuprofen together
can you take amoxicillin and ibuprofen together
does bactrim treat chlamydia
does bactrim treat chlamydia
bactrim for skin infection
bactrim for skin infection
does ciprofloxacin make you tired
does ciprofloxacin make you tired
cephalexin 500 mg sirve para infección de garganta
cephalexin 500 mg sirve para infección de garganta
azithromycin n-oxide
azithromycin n-oxide
where to get viagra over the counter
where to get viagra over the counter
escitalopram oxalate-tab-10mg
escitalopram oxalate-tab-10mg
can i drink milk with cephalexin
can i drink milk with cephalexin
duloxetine prescription
duloxetine prescription
fluoxetine lump in throat
fluoxetine lump in throat
switching from lexapro to cymbalta
switching from lexapro to cymbalta
generic of keflex
generic of keflex
metronidazole sulfonamide
metronidazole sulfonamide
should zoloft be taken with food
should zoloft be taken with food
can you take adderall and cymbalta
can you take adderall and cymbalta
gabapentin 1oo
gabapentin 1oo
semaglutide and hair loss
semaglutide and hair loss
rybelsus 7 mg
rybelsus 7 mg
rybelsus 7mg tablets
rybelsus 7mg tablets
lisinopril derived
lisinopril derived
metformin grippe
metformin grippe
furosemide hyponatremia
furosemide hyponatremia
maximum dose of lyrica
maximum dose of lyrica
tamoxifen gerd
tamoxifen gerd
valtrex cps
valtrex cps
bactrim tartarughe
bactrim tartarughe
metronidazole drooling
metronidazole drooling
gabapentin medscape
gabapentin medscape
comprar tadalafil 40 mg en walmart sin receta houston texas
comprar tadalafil 40 mg en walmart sin receta houston texas
how to get maximum effect from cialis
how to get maximum effect from cialis
tadalafil 5mg once daily
tadalafil 5mg once daily
adcirca tadalafil 20mg
adcirca tadalafil 20mg
order viagra online canada
order viagra online canada
how can i get generic viagra in canada
how can i get generic viagra in canada
over the counter female viagra canada
over the counter female viagra canada
female viagra pill where to buy
female viagra pill where to buy
viagra 200mg pills
viagra 200mg pills
where to buy viagra without a prescription
where to buy viagra without a prescription
us viagra online pharmacy
us viagra online pharmacy
tadalafil buy online
tadalafil buy online
cheep cialis canada
cheep cialis canada
viagra soft tablets
viagra soft tablets
overnight cialis
overnight cialis
cheap canadian viagra pharmacy
cheap canadian viagra pharmacy
unicare pharmacy vardenafil
unicare pharmacy vardenafil
periactin online pharmacy
periactin online pharmacy
when cialis patent expires
when cialis patent expires
over night cialis
over night cialis
tadalafil prostate
tadalafil prostate