Hello! I’ve been trying to create a footer like this:
But it’s to be 3 columns and not 4.
However, I’ve been facing a few problems.
- Alignment of content
Each column is going under each other, instead of being side-by-side.
What should I do?
- Footer looks different on different pages of site
On my ‘About Us’ page (and the preferred one), my footer is aligned with the page’s container nicely.
Source: http://xojaynee.tictail.com/about-us
However, on my ‘Contact Us’ page, the footer is stretched across the entire length of the page. I’ve tried adjusting the width and all, but to no avail.
Source: http://xojaynee.tictail.com/contact-us
How should I adjust it to make it look like the one on the ‘About Us’ page?
- How do I add in the words ‘Email Address’ in the input field of the ‘Subscribe’ column, in the footer?
Here’s my CSS and HTML:
CSS:
#footer {
position: relative;
overflow: hidden;
}
.wrap {
background: #3E3E3E;
margin: 0 auto;
position: relative;
overflow: hidden;
}
#footer a,
#footer h3 {
font: 'Open Sans', sans-serif;
color: #fff;
font-size: 14px;
font-weight: normal;
text-transform: uppercase;
line-height: 26px;
}
.clear {
clear: both;
}
.left {
text-align: left;
float: left;
width: 33%;
padding: 20px;
}
.right {
float: right;
text-align: left;
font: 'Open Sans', sans-serif;
color: #fff;
font-size: 14px;
font-weight: normal;
text-transform: uppercase;
line-height: 26px;
width: 33%;
padding: 20px;
}
.centered {
text-align: left;
width: 33%;
float: left;
padding: 20px;
}
.subscribe_button {
min-width: 200px;
margin: 0;
padding: 14px 0;
background-color: #2f2e2a;
font: 'Open Sans', sans-serif;
font-size: 14px;
line-height: 19px;
font-weight: bold;
color: #fff;
text-align: center;
text-transform: uppercase;
cursor: pointer;
-webkit-transition: background-color 0.2s ease-in-out;
-moz-transition: background-color 0.2s ease-in-out;
-ms-transition: background-color 0.2s ease-in-out;
-o-transition: background-color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out;
}
HTML:
<footer id="footer">
<div class="wrap">
<div class="left">
<h3><a href="http://xojaynee.tictail.com/about-us">About Us</a></h3>
<h3><a href="http://xojaynee.tictail.com/faq">FAQ</a></h3>
<h3><a href="http://xojaynee.tictail.com/contact-us">Contact Us</a></h3>
<h3><a href="http://xojaynee.tictail.com/about-us">Terms & Conditions</a></h3>
</div>
<div class="clear"></div>
<div class="right">
<h3>Be the first to get access to our new arrivals and exclusive promo codes.</h3>
<form action="//tictail.us13.list-manage.com/subscribe/post?u=a39ec65a4cc079bc2af73cd52&id=d3b88dcefc" method="post" id="right" name="right" class="validate" target="_blank" novalidate>
<div><input type="text" name="b_a39ec65a4cc079bc2af73cd52_d3b88dcefc" tabindex="-1" value=""></div>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="subscribe_button">
</form>
</div>
<div class="clear"></div>
<div class="centered">
<h3><a href="http://xojaynee.tictail.com/track-order">Track Order</a></h3>
<h3><a href="http://xojaynee.tictail.com/how-to-shop">How To Shop</a></h3>
<h3><a href="http://xojaynee.tictail.com/size-guide">Size Guide</a></h3>
<h3><a href="http://xojaynee.tictail.com/delivery-information">Delivery Information</a></h3>
<h3><a href="http://xojaynee.tictail.com/return-exchange">Return & Exchange</a></h3>
</div>
</div>
</footer>
Will really appreciate all help as I’ve been struggling with it for a couple of days now. I’m very new to this so please make your suggestions as dummy-friendly as possible, thank you!