forked from margoglover23/HSDO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Add Image Carousel to HSDO Homepage
90 lines (59 loc) · 3.94 KB
/
Add Image Carousel to HSDO Homepage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// paste the entire below code in the homepage promo message section to insert a carosul of images //
<style>
.carousel-control {
position: absolute;
top: 10%;
font-size: 40px;
font-weight: 100;
line-height: 35px;
color: #fff;
text-align: center;
-webkit-border-radius: 23px;
-moz-border-radius: 23px;
border-radius: 23px;
opacity: .5;
filter: alpha(opacity=50);
}
</style>
<div class="container">
<!-- thumb navigation carousel -->
<div class="col-md-12 hidden-sm hidden-xs" id="slider-thumbs">
<!-- thumb navigation carousel items -->
</div>
<div class="row">
<div class="col-md-12" id="slider">
<div class="col-md-12" id="carousel-bounding-box">
<div id="myCarousel" class="carousel slide">
<!-- main slider carousel items -->
<div class="carousel-inner">
<div class="active item" data-slide-number="0">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/City_Penguin.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
<div class="item" data-slide-number="2">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/Peace_Angels.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
<div class="item" data-slide-number="3">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/Whales.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
<div class="item" data-slide-number="4">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/Indian_Princess_Raccoon.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
<div class="item" data-slide-number="4">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/Submarine.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
<div class="item" data-slide-number="4">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/Slumber_Blossom_Pink.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
<div class="item" data-slide-number="4">
<img src="https://cdn.shopify.com/s/files/1/1280/2495/files/Underwater.jpg?17660159147217756379" width="1203" height="800" style="PADDING-LEFT: 26px ; class="img-responsive">
</div>
</div>
</div>
<!-- main slider carousel nav controls -->
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›</a>
</div>
</div>
</div>
</div>
<!--/main slider carousel-->