質問編集履歴

2

ああ

2019/09/07 11:47

投稿

ooo9999
ooo9999

スコア6

test CHANGED
File without changes
test CHANGED
@@ -45,3 +45,803 @@
45
45
 
46
46
 
47
47
  どなたかアドバイスください、、( T_T)
48
+
49
+
50
+
51
+
52
+
53
+ header.php
54
+
55
+ ```ここに言語を入力
56
+
57
+ <!DOCTYPE html>
58
+
59
+ <html lang="ja">
60
+
61
+ <head>
62
+
63
+ <meta charset="UTF-8">
64
+
65
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
66
+
67
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
68
+
69
+ <title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <!-- ______________css______________________ -->
78
+
79
+ <link rel="stylesheet" type="text/css" href="css/html5reset-1.6.1.css">
80
+
81
+ <link rel="stylesheet" type="text/css" href="css/common_pc.css">
82
+
83
+ <link rel="stylesheet" type="text/css" href="css/common_sp.css">
84
+
85
+ <!-- css/animsition -->
86
+
87
+ <link rel="stylesheet" type="text/css" href="css/animsition.min.css">
88
+
89
+ <!-- css/animate -->
90
+
91
+ <link rel="stylesheet" type="text/css"
92
+
93
+ href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
94
+
95
+ <!-- css/font-awsome -->
96
+
97
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
98
+
99
+ <!-- google-font -->
100
+
101
+ <link href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap" rel="stylesheet">
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ <!-- ______________js______________________ -->
112
+
113
+ <!-- google -->
114
+
115
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
116
+
117
+ <script type="text/javascript" src="js/common.js"></script>
118
+
119
+ <!-- js/animsition -->
120
+
121
+ <script type="text/javascript" src="js/animsition.min.js"></script>
122
+
123
+ <!-- js/wow -->
124
+
125
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <!-- favicon/touch-icon -->
134
+
135
+ <link rel="icon" type="image/x-icon" href="http://hemmel.naa09.work/wp-content/uploads/2019/09/favicon.ico">
136
+
137
+    <link rel="apple-touch-icon" sizes="180x180" href="http://hemmel.naa09.work/wp-content/uploads/2019/09/apple-touch-icon-180x180.png">
138
+
139
+
140
+
141
+ <style>
142
+
143
+
144
+
145
+ #header{
146
+
147
+ background-image: url('<?php echo get_template_directory_uri(); ?>/img/header_bg.jpg');
148
+
149
+ }
150
+
151
+ .introduction .main_bg_01{
152
+
153
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_01.jpg');
154
+
155
+ }
156
+
157
+
158
+
159
+ .main_bg_02{
160
+
161
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_02.jpg');
162
+
163
+
164
+
165
+ }
166
+
167
+ .main_bg_03{
168
+
169
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_03.jpg');
170
+
171
+ }
172
+
173
+
174
+
175
+ .main_bg_04{
176
+
177
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_04.jpg');
178
+
179
+ }
180
+
181
+
182
+
183
+ .main_bg_05{
184
+
185
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_05.jpg');
186
+
187
+ }
188
+
189
+
190
+
191
+ .main_bg_06{
192
+
193
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_06.jpg');
194
+
195
+ }
196
+
197
+
198
+
199
+ .main_bg_07{
200
+
201
+ background-image: url('<?php bloginfo('template_directory') ?>/img/fixed_bg_07.jpg');
202
+
203
+ }
204
+
205
+
206
+
207
+ </style>
208
+
209
+ <?php wp_head(); ?>
210
+
211
+ </head>
212
+
213
+ <body>
214
+
215
+ <div id="wrapper" class="animsition">
216
+
217
+ <!-- header -->
218
+
219
+ <header id="header">
220
+
221
+ <div class="header_fixed">
222
+
223
+ <div class="h1_logo"><a href="index.html">Hemmel</a></div>
224
+
225
+ <div class="sp_icon"> <i class="fas fa-align-justify"></i></div>
226
+
227
+ </div>
228
+
229
+
230
+
231
+
232
+
233
+ <div class="header_catch wow flash"
234
+
235
+ data-wow-duration="1.5s"
236
+
237
+ data-wow-delay="0.5s"
238
+
239
+ data-wow-iteration="1.5">
240
+
241
+ <p>Learn Coffee to be Barista</p>
242
+
243
+ </div>
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+ <!-- drower_nav -->
252
+
253
+ <nav class="navigation">
254
+
255
+ <div class="sp_close_icon">
256
+
257
+ <i class="far fa-window-close"></i>
258
+
259
+ </div>
260
+
261
+ <ul>
262
+
263
+ <li><a class="direction" href="#introduction">講師紹介</a></li>
264
+
265
+ <li><a class="direction" href="#course">コース案内</a></li>
266
+
267
+ <li><a class="direction" href="#advantage">このスクールを選ぶメリット
268
+
269
+ </a></li>
270
+
271
+ <li><a class="direction" href="#question">よくある質問
272
+
273
+ </a></li>
274
+
275
+ <li><a class="direction" href="#contact">お問い合わせ
276
+
277
+ </a></li>
278
+
279
+ <li><a class="direction" href="#location">アクセス</a></li>
280
+
281
+ <li><a class="direction" href="#instagram">INSTAGRAM</a></li>
282
+
283
+ </ul>
284
+
285
+ </nav>
286
+
287
+
288
+
289
+ <div class="overlay"></div>
290
+
291
+ </header>
292
+
293
+ ```
294
+
295
+
296
+
297
+ index.php
298
+
299
+
300
+
301
+ ```ここに言語を入力
302
+
303
+ <?php get_header(); ?>
304
+
305
+
306
+
307
+ <!-- main -->
308
+
309
+ <main id="main">
310
+
311
+ <div class="container">
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+ </div>
320
+
321
+ </main>
322
+
323
+
324
+
325
+ <?php get_footer(); ?>
326
+
327
+ ```
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+ css
336
+
337
+ ```ここに言語を入力
338
+
339
+ @charset "utf-8";
340
+
341
+ /* CSS Document */
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+ /*------------------------------
350
+
351
+ font-family: 'Lato', sans-serif;
352
+
353
+ ------------------------------ */
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+ html{
362
+
363
+ font-size: 62.5%;
364
+
365
+ }
366
+
367
+ body{
368
+
369
+ position: relative;
370
+
371
+ }
372
+
373
+
374
+
375
+ body, input, textarea {
376
+
377
+ font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic",
378
+
379
+ "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",
380
+
381
+ "メイリオ", "Meiryo", "verdana", sans-serif;
382
+
383
+ font-size: 1.6rem;
384
+
385
+ color: #fff;
386
+
387
+
388
+
389
+
390
+
391
+ }
392
+
393
+
394
+
395
+ a{
396
+
397
+ color: #fff;
398
+
399
+ text-decoration: none;
400
+
401
+ transition: all 0.3s ease;
402
+
403
+ }
404
+
405
+
406
+
407
+ a:hover{
408
+
409
+ opacity: 0.7;
410
+
411
+
412
+
413
+ }
414
+
415
+
416
+
417
+ li{
418
+
419
+ list-style: none;
420
+
421
+ }
422
+
423
+
424
+
425
+ img{
426
+
427
+ width: 100%;
428
+
429
+ }
430
+
431
+
432
+
433
+ *{
434
+
435
+ box-sizing: border-box;
436
+
437
+ }
438
+
439
+
440
+
441
+ .sp_br{
442
+
443
+ display: none;
444
+
445
+ }
446
+
447
+ .sp_each{
448
+
449
+ display: none;
450
+
451
+ }
452
+
453
+
454
+
455
+ /* ふわっとfadein */
456
+
457
+
458
+
459
+ .fadein {
460
+
461
+ opacity: 0;
462
+
463
+ transform: translateY(20px);
464
+
465
+ transition: all 1s;
466
+
467
+ }
468
+
469
+
470
+
471
+
472
+
473
+ /* page-top */
474
+
475
+
476
+
477
+ #page_top a{
478
+
479
+ display: block;
480
+
481
+ width: 50px;
482
+
483
+ height: 50px;
484
+
485
+ position: fixed;
486
+
487
+ right: 3%;
488
+
489
+ bottom: 5%;
490
+
491
+ background-color: rgba(0, 0, 0, 0.3);
492
+
493
+ line-height: 50px;
494
+
495
+ border-radius: 50%;
496
+
497
+ text-align: center;
498
+
499
+ color: #fff;
500
+
501
+ font-size: 2.5rem;
502
+
503
+ }
504
+
505
+
506
+
507
+
508
+
509
+ /* wrapper */
510
+
511
+ #wrapper{
512
+
513
+ width: 100%;
514
+
515
+ }
516
+
517
+
518
+
519
+ /* header */
520
+
521
+
522
+
523
+ #header{
524
+
525
+ background-image: url('../img/header_bg.jpg');
526
+
527
+ background-attachment: fixed;
528
+
529
+ background-repeat: no-repeat;
530
+
531
+ background-position: center center;
532
+
533
+ background-size: cover;
534
+
535
+ width: 100%;
536
+
537
+ height: 100vh;
538
+
539
+ display: flex;
540
+
541
+ justify-content: center;
542
+
543
+ }
544
+
545
+
546
+
547
+ /* header_fixed */
548
+
549
+ .header_fixed{
550
+
551
+  padding: 3% 0% 2%;
552
+
553
+ display: flex;
554
+
555
+ justify-content: space-between;
556
+
557
+ width: 100%;
558
+
559
+ position: fixed;
560
+
561
+
562
+
563
+
564
+
565
+ }
566
+
567
+ .header_bg_fixed{
568
+
569
+ background-color:rgba(0, 0, 0, 0.2);
570
+
571
+ }
572
+
573
+
574
+
575
+ .h1_logo{
576
+
577
+
578
+
579
+ font-size: 2.5rem;
580
+
581
+ font-family: 'Lato', sans-serif;
582
+
583
+ margin-left:5%;
584
+
585
+ }
586
+
587
+
588
+
589
+ /* header_g-nav */
590
+
591
+ .sp_icon{
592
+
593
+ font-size: 3rem;
594
+
595
+ cursor: pointer;
596
+
597
+ }
598
+
599
+
600
+
601
+ .sp_close_icon{
602
+
603
+ text-align: right;
604
+
605
+ font-size: 3rem;
606
+
607
+ cursor: pointer;
608
+
609
+ margin-right:5%;
610
+
611
+ }
612
+
613
+
614
+
615
+
616
+
617
+ .navigation ul{
618
+
619
+ line-height: 2.7;
620
+
621
+ }
622
+
623
+
624
+
625
+ .navigation{
626
+
627
+
628
+
629
+ position: fixed;
630
+
631
+ right: 0;
632
+
633
+ top: 0;
634
+
635
+ z-index: 10;
636
+
637
+ background-color: rgb(90, 44, 44);
638
+
639
+ padding: 3% 5%;
640
+
641
+ height: 100%;
642
+
643
+ transition:all .6s ease;
644
+
645
+ transform: translate(400px);
646
+
647
+
648
+
649
+ }
650
+
651
+
652
+
653
+ .overlay{
654
+
655
+ /* display: none; */
656
+
657
+ position: fixed;
658
+
659
+ visibility: hidden;
660
+
661
+ top: 0;
662
+
663
+ left: 0;
664
+
665
+ right: 0;
666
+
667
+ bottom: 0;
668
+
669
+ z-index: 5;
670
+
671
+ transition: all 1s ease;
672
+
673
+ }
674
+
675
+
676
+
677
+
678
+
679
+ .open{
680
+
681
+ overflow: hidden;
682
+
683
+ transform: translate(0px);
684
+
685
+ }
686
+
687
+ .o_open{
688
+
689
+
690
+
691
+ visibility: visible;
692
+
693
+ background: rgba(0,0,0,.6);
694
+
695
+ width: 100%;
696
+
697
+ height: 100%;
698
+
699
+ }
700
+
701
+
702
+
703
+
704
+
705
+ /* header_catch */
706
+
707
+ .header_catch{
708
+
709
+ display: flex;
710
+
711
+ align-items: center;
712
+
713
+
714
+
715
+ }
716
+
717
+
718
+
719
+ .header_catch p{
720
+
721
+
722
+
723
+
724
+
725
+ padding: 3% 0;
726
+
727
+ margin: 0 auto;
728
+
729
+ font-size: 3.5rem;
730
+
731
+ font-family: 'Lato', sans-serif;
732
+
733
+ border-top: 2px solid;
734
+
735
+ border-bottom: 2px solid;
736
+
737
+ text-align: center;
738
+
739
+ }
740
+
741
+
742
+
743
+
744
+
745
+ /* main */
746
+
747
+
748
+
749
+
750
+
751
+ .sub_catch_01{
752
+
753
+ background-color: #5A7260;
754
+
755
+ padding: 9%;
756
+
757
+ }
758
+
759
+
760
+
761
+ .sub_catch_01 p{
762
+
763
+ font-size: 2.3rem;
764
+
765
+ text-align: center;
766
+
767
+ line-height: 1.8;
768
+
769
+ letter-spacing: 1rem;
770
+
771
+
772
+
773
+ }
774
+
775
+
776
+
777
+
778
+
779
+ /* common_part */
780
+
781
+
782
+
783
+ .section_h1{
784
+
785
+ text-align: center;
786
+
787
+ font-size: 3rem;
788
+
789
+ letter-spacing: 1rem;
790
+
791
+
792
+
793
+ }
794
+
795
+
796
+
797
+ .fixed_bg{
798
+
799
+ background-attachment: fixed;
800
+
801
+ padding: 25% 0;
802
+
803
+ background-repeat: no-repeat;
804
+
805
+ background-size: cover;
806
+
807
+ }
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+ /* page-top */
816
+
817
+
818
+
819
+ #page_top a{
820
+
821
+ display: block;
822
+
823
+ width: 50px;
824
+
825
+ height: 50px;
826
+
827
+ position: fixed;
828
+
829
+ right: 3%;
830
+
831
+ bottom: 5%;
832
+
833
+ background-color: rgba(0, 0, 0, 0.3);
834
+
835
+ line-height: 50px;
836
+
837
+ border-radius: 50%;
838
+
839
+ text-align: center;
840
+
841
+ color: #fff;
842
+
843
+ font-size: 2.5rem;
844
+
845
+ }
846
+
847
+ ```

1

コード追加

2019/09/07 11:47

投稿

ooo9999
ooo9999

スコア6

test CHANGED
File without changes
test CHANGED
File without changes