Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/ImageFooter/imgfooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ function ImageFooter() {
<div className="imgfooter bg-image text-light d-flex align-items-center">
<div className="row">
<div className="subcopy col-md-6">
<h5 className="">Newsletter Subscription</h5>
<p className="">
<h5>Newsletter Subscription</h5>
<p>
Subscribe to our educational quiz website and stay up-to-date with
the latest geography quizzes and interactive content. Test your
knowledge and learn about the world around us! We promise not to
Expand Down
15 changes: 8 additions & 7 deletions src/components/ImageFooter/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-position: center;
background-repeat: no-repeat;
width: 100vw;
height: 50vh;
min-height: 50vh;
}

.subcopy {
Expand Down Expand Up @@ -49,16 +49,17 @@
}

@media only screen and (max-width: 900px) {
.subcopy {
padding-top: 0%;
.subform {
width: 100%;
}
.newsform {
padding-top: 10%;

.subcopy {
text-align: center;
}
}

@media only screen and (max-width: 600px) {
.subcopy {
padding-top: 35%;
.subform {
width: 100%;
}
}