Ok Piotr, a handful of questions for you. Really appreciate your time on these answers!
If you take a look at the site
http://jackalopemedia.com/extendfertility/ You'll see that the sponsors has some weird padding. First, it looks like there's some padding on the left, which makes the sponsors area off-centered from the image header and the footer. What's the best way to make these all line up perfect?
Also, we'd like to get rid of the padding on the top and bottom of sponsors, so it fits close to the blue outline at the bottom of the photo. There can be a bit of space here, but not much.
I got the top part in. When it's responsive, I think all that needs to happen is the text goes on top, then the button, then the image last. If you could recommend the best way to go about this, I'd be grateful.
Here's the HTML:
- Code: Select all
<div class="above-the-fold">
<span>
<img alt="Extend Fertility has helped 1000s of Women" src="http://jackalopemedia.com/extendfertility/wp-content/themes/Fest/images/girl_left.jpg">
</span>
</a>
<span>
<div class="headline">
<h1>Should you <font color="#00bce3">freeze your eggs?</font></h1>
<h3><strong>“I would definitely do it again, only sooner and with younger eggs.”</strong>
<br />
- Lady InGreen, <a href="#"><i><font style="font-size: 12px;">learn more about our clients’ experiences.</font></i></a>
</h3>
<a class="btn" href="#"><i class="icon-phone"></i>Talk to an expert</a>
</div>
</span>
</div>
CSS:
- Code: Select all
.above-the-fold {
display: table;
}
.above-the-fold img {
vertical-align: middle;
display: table-cell;
padding-right: 50px;
}
.above-the-fold > span {
vertical-align: middle;
display: table-cell;
}
.headline {
margin-bottom: 150px;
}
.headline h1 {
font-size: 36px;
padding-bottom: 12px;
}
.headline h3 {
font-size: 16px;
}
.headline h4 {
font-size: 10px;
}
.headline h3 a {
color: #00bce3;
text-decoration: underline;
}
.headline h3 a:hover {
color: #00bce3;
text-decoration: none;
}
Lastly, when the screen size is shrunk to mobile, a black outline appears around the menu icon in the upper left corner. Why is this?
Thanks!