From 7e68a09978605e3d0e033647a26af7cfd66566b9 Mon Sep 17 00:00:00 2001 From: BreizhHardware Date: Sat, 24 Dec 2022 16:47:36 +0100 Subject: [PATCH] Fix the responsivness of the footer by adding a breakpoint --- src/css/footer.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/css/footer.css b/src/css/footer.css index 1214c9e..86d4757 100644 --- a/src/css/footer.css +++ b/src/css/footer.css @@ -1,8 +1,6 @@ footer{ - position: absolute; - width: 1878px; + width: 100%; height: 145px; - left: 21px; /*top: 760px;*/ font-family: Arial, sans-serif; font-style: normal; @@ -26,7 +24,7 @@ footer{ display: grid; grid-template-columns: 1fr 510px 1fr; text-align: center; - color: #ffffff; + color: white; } .copya{ @@ -42,4 +40,10 @@ footer{ #item1{ grid-column-start: 2; grid-column-end: 3; +} + +@media (max-width: 1020px){ + .foot{ + padding-bottom: 0; + } } \ No newline at end of file