質問編集履歴
3
該当PHPの全文記載
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,28 +23,149 @@
|
|
23
23
|
該当PHP
|
24
24
|
|
25
25
|
```ここに言語を入力
|
26
|
+
<?php /* Template Name: Welcome Screen */ ?>
|
27
|
+
|
28
|
+
<?php
|
29
|
+
$options = get_desing_plus_option();
|
30
|
+
get_header(); ?>
|
31
|
+
|
26
32
|
<div id="site-cover"></div>
|
33
|
+
|
27
34
|
<section>
|
28
|
-
<div class="slider heightasviewport has-background" data-order='0' data-parallax="scroll" data-image-src="<?php echo $options['slider_image1']; ?>"></div>
|
29
35
|
|
36
|
+
<div class="slider heightasviewport has-background" data-order='0' data-parallax="scroll" data-image-src="<?php echo $options['slider_image1']; ?>"></div>
|
30
37
|
|
31
|
-
<div id="topcover" class="topcover heightasviewport">
|
38
|
+
<div id="topcover" class="topcover heightasviewport">
|
32
|
-
<div class="text-center verticalcentersplash amore-welcome-center">
|
39
|
+
<div class="text-center verticalcentersplash amore-welcome-center">
|
33
|
-
<?php if($options['first_auto_br']): ?>
|
40
|
+
<?php if($options['first_auto_br']): ?>
|
34
|
-
<h1 class="first-h1"><?php echo nl2br($options['h1_text']); ?></h1>
|
41
|
+
<h1 class="first-h1"><?php echo nl2br($options['h1_text']); ?></h1>
|
35
|
-
<?php else: ?>
|
42
|
+
<?php else: ?>
|
36
|
-
<h1 class="first-h1"><?php echo $options['h1_text']; ?></h1>
|
43
|
+
<h1 class="first-h1"><?php echo $options['h1_text']; ?></h1>
|
37
|
-
<?php endif; ?>
|
44
|
+
<?php endif; ?>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div class="topcover heightasviewport" style="opacity:1;-ms-transform:translate(0px,0px);-webkit-transform:translate(0px,0px);transform:translate(0px,0px);"></div>
|
49
|
+
|
50
|
+
<div id="top" class="heightasviewport" style="opacity:1; background:transparent">
|
51
|
+
<a href="#third" class="animate"><div class="down-arrow bounce"><span class="fa fa-angle-down"></span></div></a>
|
38
52
|
</div>
|
39
|
-
</div>
|
40
53
|
|
41
|
-
<
|
54
|
+
</section>
|
42
55
|
|
56
|
+
|
57
|
+
<section>
|
58
|
+
<div class="amore-divider romaji" data-parallax="scroll" data-image-src="<?php echo $options['bg_image2']; ?>">
|
59
|
+
<div class="container">
|
60
|
+
<div class="row">
|
61
|
+
<div class="col-xs-120 no-padding">
|
62
|
+
<h1 class="invisibletexteffect animate offsetted top-headline third_headline"><?php echo $options['third_headline'];?></h1>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div id="third" class="container">
|
69
|
+
<div class="row">
|
70
|
+
<div class="col-xs-120 no-padding">
|
71
|
+
<div class="row amore-section">
|
72
|
+
<?php for($i=1; $i<=3; $i++): ?>
|
73
|
+
<?php if ($options['third_banner_image'.$i]): ?>
|
74
|
+
<div class="col-sm-40 text-center">
|
75
|
+
<div style="background-image:url(<?php echo $options['third_banner_image'.$i]; ?>); width:70%" class="img-circle square-80 heightaswidth mb20 circle-banner">
|
76
|
+
<a class="no-decoration" href="<?php echo $options['third_banner_url'.$i]; ?>"<?php if($options['third_banner_target'.$i]){echo ' target="_blank"';}; ?>><div class="cover text-center">
|
77
|
+
<h3 class="verticalcenter"><?php echo $options['third_banner_headline'.$i]; ?></h3>
|
78
|
+
</div></a>
|
79
|
+
</div>
|
80
|
+
<h4 class="text-center third-banner-headline mb20"><?php echo $options['third_banner_headline'.$i]; ?></h4>
|
81
|
+
<p class="text-justify third-banner-body"><?php echo $options['third_banner_copy'.$i]; ?></p>
|
82
|
+
<div class="button romaji"><a href="<?php echo $options['third_banner_url'.$i]; ?>"<?php if($options['third_banner_target'.$i]){echo ' target="_blank"';}; ?>>READ MORE</a></div>
|
83
|
+
<div class="visible-xs"><br/><br/></div>
|
84
|
+
</div>
|
85
|
+
<?php endif; ?>
|
86
|
+
<?php endfor; ?>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
</section>
|
92
|
+
|
93
|
+
<section>
|
94
|
+
<div class="amore-divider romaji" data-parallax="scroll" data-image-src="<?php echo $options['bg_image4']; ?>">
|
95
|
+
<div class="container">
|
96
|
+
<div class="row">
|
97
|
+
<div class="col-xs-120 no-padding">
|
98
|
+
<h1 class="invisibletexteffect animate offsetted top-headline fifth_headline"><?php echo $options['fifth_headline'];?></h1>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<div id="fifth" class="container">
|
105
|
+
<div class="row">
|
106
|
+
<div class="col-xs-120 no-padding">
|
107
|
+
|
108
|
+
<div class="row amore-section">
|
109
|
+
<?php for ($i=1; $i <=3 ; $i++): ?>
|
110
|
+
<?php if($options['fifth_banner_image'.$i]): ?>
|
111
|
+
<div class="col-sm-38 <?php if($i > 1) echo "col-sm-offset-3"; ?>">
|
112
|
+
|
113
|
+
<a href="<?php echo $options['fifth_banner_url'.$i]; ?>"<?php if($options['fifth_banner_target'.$i]){echo ' target="_blank"';}; ?>>
|
114
|
+
<div class="square-80 mb20 fifth-banner-image square-banner">
|
115
|
+
<div class="square-banner-label text-center"><?php echo $options['fifth_banner_headline'.$i]; ?></div>
|
116
|
+
<div class="has-background square-banner-image" style="background-image:url(<?php echo $options['fifth_banner_image'.$i]; ?>)"></div>
|
117
|
+
</div>
|
118
|
+
</a>
|
119
|
+
|
120
|
+
<h4 class="text-justify fifth-banner-headline mb20"><?php echo $options['fifth_banner_headline'.$i]; ?></h4>
|
121
|
+
<p class="fifth-banner-copy mb20"><?php echo $options['fifth_banner_copy'.$i]; ?></p>
|
122
|
+
<div class="button romaji"><a href="<?php echo $options['fifth_banner_url'.$i]; ?>"<?php if($options['fifth_banner_target'.$i]){echo ' target="_blank"';}; ?>>READ MORE</a></div>
|
123
|
+
<div class="visible-xs"><br/><br/></div>
|
124
|
+
</div>
|
125
|
+
<?php endif; ?>
|
126
|
+
<?php endfor; ?>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
</section>
|
133
|
+
|
134
|
+
<section>
|
43
|
-
<div id="
|
135
|
+
<div id="sixth" class="has-background" style="background-image:url(<?php echo $options['bg_image5']; ?>)">
|
136
|
+
<div class="container" style="overflow-x:hidden">
|
137
|
+
<div class="row amore-section">
|
138
|
+
|
139
|
+
<div class="col-xs-120 no-padding-mobile">
|
140
|
+
<div class="row map-wrap-dark">
|
141
|
+
|
44
|
-
<
|
142
|
+
<div class="<?php if($options['show_map']){ echo "col-sm-60"; } else { echo "col-sm-120"; } ?> no-left-padding no-padding-mobile" style="line-height:30px;">
|
143
|
+
<?php if($options['sixth_auto_br']): ?>
|
144
|
+
<?php echo nl2br($options['sixth_text']); ?>
|
145
|
+
<?php else: ?>
|
146
|
+
<?php echo $options['sixth_text']; ?>
|
147
|
+
<?php endif; ?>
|
148
|
+
</div>
|
149
|
+
|
150
|
+
<?php if($options['show_map']) : ?>
|
151
|
+
<div class="visible-xs"><br/><br/></div>
|
152
|
+
<div class="col-sm-60 no-right-padding no-padding-mobile">
|
153
|
+
<div id="map-canvas" style="width:100%; height:480px; border:4px solid white; border-radius:2px;"></div>
|
154
|
+
</div>
|
155
|
+
<?php endif; ?>
|
156
|
+
|
157
|
+
</div>
|
158
|
+
</div>
|
159
|
+
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
</section>
|
164
|
+
|
45
165
|
</div>
|
46
166
|
|
167
|
+
<?php /* get_sidebar(); */ ?>
|
47
|
-
<
|
168
|
+
<?php get_footer(); ?>
|
48
169
|
```
|
49
170
|
ディベロッパーツールでは
|
50
171
|
```PHP
|
2
詳しく加筆
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,4 +18,45 @@
|
|
18
18
|
また、こちらのOpacityの変化を止めたい場合は、どのようにするのが適切でしょうか?
|
19
19
|
|
20
20
|
悩んだ末に、解決できず質問させていただきました。
|
21
|
-
よろしくお願いいたします。
|
21
|
+
よろしくお願いいたします。
|
22
|
+
|
23
|
+
該当PHP
|
24
|
+
|
25
|
+
```ここに言語を入力
|
26
|
+
<div id="site-cover"></div>
|
27
|
+
<section>
|
28
|
+
<div class="slider heightasviewport has-background" data-order='0' data-parallax="scroll" data-image-src="<?php echo $options['slider_image1']; ?>"></div>
|
29
|
+
|
30
|
+
|
31
|
+
<div id="topcover" class="topcover heightasviewport">
|
32
|
+
<div class="text-center verticalcentersplash amore-welcome-center">
|
33
|
+
<?php if($options['first_auto_br']): ?>
|
34
|
+
<h1 class="first-h1"><?php echo nl2br($options['h1_text']); ?></h1>
|
35
|
+
<?php else: ?>
|
36
|
+
<h1 class="first-h1"><?php echo $options['h1_text']; ?></h1>
|
37
|
+
<?php endif; ?>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="topcover heightasviewport" style="opacity:1;-ms-transform:translate(0px,0px);-webkit-transform:translate(0px,0px);transform:translate(0px,0px);"></div>
|
42
|
+
|
43
|
+
<div id="top" class="heightasviewport" style="opacity:1; background:transparent">
|
44
|
+
<a href="#third" class="animate"><div class="down-arrow bounce"><span class="fa fa-angle-down"></span></div></a>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
</section>
|
48
|
+
```
|
49
|
+
ディベロッパーツールでは
|
50
|
+
```PHP
|
51
|
+
<div class="slider heightasviewport has-background" data-order='0' data-parallax="scroll" data-image-src="<?php echo $options['slider_image1']; ?>"></div>
|
52
|
+
```
|
53
|
+
へ
|
54
|
+
```PHP
|
55
|
+
<div class="slider heightasviewport has-background" style="display: block; height: 364px; opacity: 0.11308;" data-order='0' data-parallax="scroll" data-image-src="<?php echo $options['slider_image1']; ?>"></div>
|
56
|
+
```
|
57
|
+
|
58
|
+
のような形で
|
59
|
+
> display: block; height: 364px; opacity: 0.11308;display: block; height: 364px; opacity: 0.11308;
|
60
|
+
のopacityが追加されます。
|
61
|
+
|
62
|
+
JSの該当ファイルがわかっておりません。
|
1
誤字修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
|
11
11
|
この切り替わりのタイミングで
|
12
12
|
> slider heightasviewport has-background
|
13
|
+
|
13
14
|
というclassのopacityが0から1へと自動的に変わっているように思います。
|
14
15
|
|
15
16
|
これは、なにで制御しているのでしょうか?
|