vlcsolutions commited on
Commit
d032ff8
·
verified ·
1 Parent(s): cdd0705

footer section background color issue, the background color may not be extending full-width across the screen, Please extend full-width background color in footer section only

Browse files
Files changed (1) hide show
  1. components/footer.js +5 -3
components/footer.js CHANGED
@@ -8,9 +8,11 @@ class CustomFooter extends HTMLElement {
8
  color: white;
9
  padding-top: 3.5rem;
10
  padding-bottom: 2rem;
11
- width: 100vw;
12
- margin: 0;
 
13
  left: 0;
 
14
  background-size: cover;
15
  background-position: center;
16
  background-repeat: no-repeat;
@@ -97,7 +99,7 @@ class CustomFooter extends HTMLElement {
97
  text-align: center;
98
  }
99
  </style>
100
- <footer style="background-image: linear-gradient(rgba(0, 32, 96, 0.9), rgba(0, 32, 96, 0.9)), url('http://static.photos/technology/1200x630/42')">
101
  <div class="footer-container">
102
  <div class="footer-grid">
103
  <div>
 
8
  color: white;
9
  padding-top: 3.5rem;
10
  padding-bottom: 2rem;
11
+ width: 100%;
12
+ margin-left: calc(-50vw + 50%);
13
+ margin-right: calc(-50vw + 50%);
14
  left: 0;
15
+ right: 0;
16
  background-size: cover;
17
  background-position: center;
18
  background-repeat: no-repeat;
 
99
  text-align: center;
100
  }
101
  </style>
102
+ <footer style="background: var(--vlc-navy);">
103
  <div class="footer-container">
104
  <div class="footer-grid">
105
  <div>