Edrol97
Bronze Coder
Can anyone help with this? I'm still struggling. Code below for reference. I'm not sure if one of the images being a GIF makes a difference. I don't think it should make a difference but just including it in case it is.
CSS:
@font-face {
font-family: Eliot Lord;
src: url(Fonts/EliotlordhandRegular.ttf);
}
body {
font-family: Eliot Lord;
}
.h1{
font-size: 60pt;
}
.container {
cursor: pointer;
height: 100%;
width: 100%;
position: relative;
}
.galleries {
overflow: hidden;
position: relative;
}
.gallery1,
.gallery2,
.gallery3,
.gallery4,
.gallery5,
.gallery6,
.gallery7,
.gallery8,
.gallery9 {
float: left;
}
.title_text {
font-size: 44pt;
font-weight: bold;
}
.caption_text {
font-size: 25pt;
height: 100%;
width: 100%;
}
.slide-show_containers {
margin-top: 50px;
width: 100%;
height: 500px;
}
.slide-show_1container,
.slide-show_2container,
.slide-show_3container,
.slide-show_4container,
.slide-show_5container,
.slide-show_6container,
.slide-show_7container,
.slide-show_8container,
.slide-show_9container{
display: none;
position: relative;
margin: auto;
height: 600px;
}
.image_slide1,
.image_slide2,
.image_slide3,
.image_slide4,
.image_slide5,
.image_slide6,
.image_slide7,
.image_slide8,
.image_slide9 {
height: 100%;
width: 600px;
overflow: hidden;
display: none;
margin: auto;
text-align: center;
}
.previous_button,
.next_button,
.close_button {
font-family: Arial, Helvetica, sans-serif;
font-size: large;
align-items: center;
cursor: pointer;
font-size: xx-large;
position: absolute;
}
.previous_button {
top: 50%;
left: 10px;
}
.next_button {
top: 50%;
right: 10px;
}
.close_button {
top: 10px;
right: 10px;
}
Attachments
Last edited: