Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the bugs of the footer in the mobile view #1331

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion assets/content/static/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h4 class="mb-0 font-weight-light">Get in touch with using any of these platform
</div>
</div>
<div class="col-md-6">
<ul class="nav nav-footer justify-content-end">
<ul class="nav nav-footer justify-content-end footer-elements">
<li class="nav-item">
<a href="/" class="nav-link">Home</a>
</li>
Expand Down
63 changes: 63 additions & 0 deletions assets/css/global-custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -740,3 +740,66 @@ li.timeline-element:last-child {
background-color: #5e72e4;
}
}


@media only screen and (max-width: 991px) {
.footer-elements {
position: relative;
top: 40px;
width: 130%;
right: 100px;
}

.copyright {
width: 103%;
}
}

@media only screen and (max-width: 767px) {
.footer-elements {
top: 20px;
right: 150px;
}
}

@media only screen and (max-width: 575px) {
.footer-elements {
right: 160px;
}
}



@media only screen and (max-width: 536px) {
.footer-elements {
right: 140px;
}

}

@media only screen and (max-width: 475px) {
.footer-elements {
right: 120px;
}

}

@media only screen and (max-width: 438px) {
.footer-elements {
width: 90%;
left: 30px;
}

}

@media only screen and (max-width: 370px) {
.footer-elements {
left: 15px;
width: 80%;
text-align: center;
}

.copyright {
text-align: center;
}
}
YoshithaRathnayake marked this conversation as resolved.
Show resolved Hide resolved