html - Woocommerce Footer not Aligning to FullScreen -


i have developed first woocommerce site , have had niggling issues trying fix.

the site can viewed @ http://www.dcsreceivers.co.uk/.

the problem have footer bar background behind not display edge edge on different screen sizes. when developed on laptop (screen size 13), fine when have viewed on bigger screens leaves gap on right hand side , i'm not sure how how fix it.

the code used is:

#colophon .site-info {      background-color: #2c2c2c;      margin-left: -500px;      padding-left: 500px;      margin-right: -46px;      padding-right: 500px;      border-top: 1px solid #3a3a3a; } 

would appreciate if advise on how fix display correctly on screen sizes.

thanks in advance.

image attached show issueenter image description here

you have 2 possibilities. may want have black bar in footer to:

  • expand fit width of screen;
  • fit width of content above it, not width of screen.

to achieve first aim, can put .site-info div outside of container, div class col-full. in case code be:

<footer id="colophon" class="site-footer" ...>    <div class="col-full">       ...    </div>    <div class="site-info">       ...    </div> </footer> 

in case, however, have accordingly set padding of .site-info div adjust position of content.

to achieve second aim, can remove margin:

#colophon .site-info {     background-color: #2c2c2c;     padding-left: 500px;     padding-right: 500px;     border-top: 1px solid #3a3a3a; } 

Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -