回答編集履歴
3
コメント追加
answer
CHANGED
@@ -9,4 +9,11 @@
|
|
9
9
|
margin-top: 0 !important; //上の空きをcssで0にする
|
10
10
|
padding: 1em 0 1.5em; //この部分を削除
|
11
11
|
}
|
12
|
-
```
|
12
|
+
```
|
13
|
+
|
14
|
+
上記の対応は<div class=site siteContent style="margin-top:48px;" >
|
15
|
+
のstyleは直接は消してませんがcssでmarginを上書きして空き幅を0にしています。
|
16
|
+
|
17
|
+
根本的にstyle="margin-top:48px;"をなくすには、外部のjavascriptかPHPで
|
18
|
+
「.site」か「.siteContent」に直接styleを当てに行っていると思うので、
|
19
|
+
「.site」もしくは「.siteContent」でファイルを全体検索して見てください。
|
2
文言修正
answer
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
僕が見た限り2箇所修正すればいいかと思います。
|
2
2
|
|
3
3
|
<div class=site siteContent style="margin-top:48px;" >
|
4
|
-
のstyle="margin-top:48px;"が入っているため
|
4
|
+
のstyle="margin-top:48px;"が入っているためmargin-top: 0 !important;を追加
|
5
5
|
|
6
6
|
style.cssの.siteContentにpaddingが設定されているためそちらも削除してください
|
7
7
|
```ここに言語を入力
|
8
8
|
.siteContent {
|
9
|
+
margin-top: 0 !important; //上の空きをcssで0にする
|
9
|
-
padding: 1em 0 1.5em;//この部分を削除
|
10
|
+
padding: 1em 0 1.5em; //この部分を削除
|
10
11
|
}
|
11
12
|
```
|
1
誤字修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
僕が
|
1
|
+
僕が見た限り2箇所修正すればいいかと思います。
|
2
2
|
|
3
3
|
<div class=site siteContent style="margin-top:48px;" >
|
4
4
|
のstyle="margin-top:48px;"が入っているため削除
|