기초 바닥글이 전체 페이지 너비가 아닙니다. (Foundation footer is not full page width)


문제 설명

기초 바닥글이 전체 페이지 너비가 아닙니다. (Foundation footer is not full page width)

저는 Foundation 5를 사용하여 웹사이트를 만들었으며 일부 페이지 바닥글이 페이지 너비를 채우지 못하는 문제가 있습니다. 다른 페이지는 잘 작동하고 바닥글은 페이지를 완벽하게 채웁니다. 도움을 주시면 감사하겠습니다.

여기에 문제가 있는 페이지 중 하나의 바닥글이 있습니다.

<footer class="footer">
   <div class="row">
      <div class="small‑12 medium‑6 large‑5 columns">
         <div class="logo">
            <a href="index.html"><img src="img/logo.png" /></a>
         </div>
         <p class="footer‑links">
            <a href="index.html">Home</a>
            <a href="aboutus.html">About</a>
            <a href="staff.html">Staff</a>
            <a href="comingsoon.html">Online Giving</a>
            <a href="http://vimeo.com/firstag">Sermon Videos</a>
            <a href="contactus.html">Contact</a>
         </p>
         <p class="copywrite">Copywrite © 2015 First Assembly of God, Lincolnton</p>
      </div>
      <div class="small‑12 medium‑6 large‑4 columns">
         <ul class="contact">
            <li>
               <p><i class="fi‑marker"></i>328 May Avenue<br>P.O. Box 457<br>Lincolnton, Georgia 30817</p>
            </li>
            <li>
               <p><i class="fi‑telephone"></i>Phone | 706‑359‑7237<br>FAX | 706‑359‑6638</p>
            </li>
            <li>
               <p><i class="fi‑mail"></i>office@firstaglincolnton.org</p>
            </li>
         </ul>
      </div>
      <div class="small‑12 medium‑12 large‑3 columns">
         <p class="about">CONNECT WITH US</p>
         <p class="about subheader">Please visit our social media accounts to keep up with current events.</p>
         <ul class="inline‑list social">
            <a href="http://twowhoagree.blogspot.com/"><i class="fi‑social‑blogger"></i></a>
            <a href="http://vimeo.com/firstag"><i class="fi‑social‑vimeo"></i></a>
            <a href="https://twitter.com/FirstAGofLC"><i class="fi‑social‑twitter"></i></a>
            <a href="https://www.facebook.com/pages/First‑Assembly‑of‑God‑Lincolnton/169771389824660"><i class="fi‑social‑facebook"></i></a>
         </ul>
      </div>
   </div>
</footer>

참조 솔루션

방법 1:

Add this class to have full width row:

.full‑width {
   width: 100%;
   margin‑left: auto;
   margin‑right: auto;
   max‑width: initial;
}

Then merge footer with the first div and add the class full‑width:

Old

<footer class="footer">
   <div class="row">

   [...]

   </div>
</footer>

New

<footer class="row footer full‑width">

[...]

</footer>

Working example: CodePen link

(by Ben HandKnut Holm)

참조 문서

  1. Foundation footer is not full page width (CC BY‑SA 2.5/3.0/4.0)

#zurb-foundation #css #html






관련 질문

zurb-foundation Rails gem에 캔버스 외 레이아웃 포함 (Including off-canvas layouts with the zurb-foundation Rails gem)

CSS zurb 기초 및 dhtmlx (CSS zurb foundation and dhtmlx)

기초 바닥글이 전체 페이지 너비가 아닙니다. (Foundation footer is not full page width)

slick.js 플러스 파운데이션 이퀄라이저 문제 (slick.js plus foundation equalizer issue)

반응형 웹사이트 드롭다운 양식 문제 (Responsive Website Dropdown form issue)

Foundation 6의 TopBar가 작동하지 않음 (TopBar in foundation 6 not working)

_settings.scss의 변수는 주석 처리되지 않은 상태로 컴파일됩니다. (Variables in _settings.scss are compiled as uncommented)

Foundation for Apps 프로젝트의 양쪽 맞춤 탭 (Justified tabs in Foundation for Apps project)

휴대폰에서 보이지 않는 웹사이트의 일부 (Part of the Website invisible on mobile phone)

Zurb Foundation 구성 요소가 작동하지 않음 (Zurb Foundation components not working)

Foundation 탭이 초기화되었는지 확인하는 방법은 무엇입니까? (How to check if Foundation tabs are initialized?)

Zurb Foundation 균등화 그리드: 그리드 셀 내부의 div 하단에 콘텐츠를 배치하는 방법 (Zurb Foundation equalised grid: how to position content at bottom of div inside grid cell)







코멘트