Small margin that I cannot remove Bootstrap - css

UPDATE: Fixed - I had neglected to wrap my blog partial within <main> tags, which are in place on every other page. Moderators: please delete question if you deem appropriate. I'll leave it here for now.
I've been trying for some time to remove the small margin that appears on the right side of the top image (.mobile-image). I know the placement of the image is poor but it has to be that way to allow for fluid resizing on mobile. I've tried manipulating negative margin values to no avail.
The issue is isolated to the top image but I have put the full HTML so the broader context is there if necessary.
/*Single blog post template*/
//Blog header
.blog-jumbo-header{
margin-top: 80px;
padding-left: 150px;
padding-right: 100px;
padding-bottom: 20px;
#include media-breakpoint-down(md) {
padding:5% 3% 5% 3%;
}
}
.background-wrapper{
background-color: #e3e7f2;
#include media-breakpoint-down(md) {
margin-bottom: 1em;
}
}
.single-blog-page-body {
margin-top: 70px;
#include media-breakpoint-up(md) {
padding-left: 165px;
}
#include media-breakpoint-down(md) {
padding-left: 15px;
margin-top:0px;
}
}
.title-block{
#include media-breakpoint-up(xl) {
margin-top: 30px;
padding-right: 80px;
}
#media only screen and (min-width: 1550px) {
margin-top: 30px;
padding-right: 80px;
}
#media only screen and (min-width: 1001px) and (max-width:1150px){
min-width: 350px;
}
#media only screen and (min-width: 1050px) {
padding-top: 50px;
padding-right: 30px;
}
.category{
text-transform: uppercase;
font-weight: 300;
}
.top-heading{
padding-top: 10px;
padding-bottom: 10px;
#media (max-width: 1350px) {
font-size: 44px;
}
}
.blog-lead{
font-size: 1.2em;
font-weight: 300;
line-height: 28px;
}
}
//Images
//Main header image
.blog-image{
padding-right: 40px;
padding-left: 50px;
padding-top: 20px;
width:850px;
#media only screen and (max-width: 1550px){
width:700px;
margin-top: 70px;
}
#media only screen and (max-width: 1400px){
width:650px;
margin-top: 100px;
}
#media only screen and (max-width: 1200px){
width:550px;
margin-top: 100px;
}
#media only screen and (min-width: 1001px) and (max-width:1150px){
width:420px;
}
#media only screen and (max-width: 1000px){
display:none;
}
}
//Main header image, styled full-width for mobile
.mobile-image{
width:100%;
margin: 85px -5px -80px -5px;
#media only screen and (min-width: 999px) {
display: none;
}
}
//Author bubble image
.author-bubble{
width: 70px;
#media only screen and (max-width: 1350px) {
width: 50px;
}
}
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet" />
<div class="background-wrapper">
<!--Mobile full width image starts-->
<img src="https://dummyimage.com/800x450/000/fff.png" class="mobile-image">
<!--Mobile full width image ends-->
<!--Blog jumbo header-->
<div class="jumbotron-fluid blog-jumbo-header">
<div class="container-fluid ">
<!--Title/category flex block-->
<div class="d-flex flex-row ">
<div class="title-block">
<div class="d-flex flex-column">
<!--Category-->
<div class="">
<span class="h5 category">Category</span>
</div>
<!--Post title-->
<div class="">
<h1 class="top-heading display-4">Title</h1>
</div>
<!--Post lead-->
<div class="">
<p class="blog-lead">
Lead lead lead lead lead lead lead lead
</p>
</div>
<!--Author info-->
<div class="d-flex flex-row align-items-center pt-2">
<div class="d-flex flex-column pl-2 ">
<div class="">
<span>
Author
</span>
</div>
<!--Date-->
<div class="">
<span style="font-weight: 300;">
Date
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Blog image flex block-->
<div class="d-flex flex-row ">
<div class="d-flex flex-column">
<div class=" blog-image">
<img class=" img-fluid" src="{{ site.baseurl }}/assets/images/blog/{{ page.image }}" />
</div>
</div>
</div>
</div>
</div>
</div>

Related

How to resize images in multi-column Layout?

i'm trying to make a Masonry page working with multi-columns, but my images looks huge, not like they should.
how can i resize and make them smaller?
i've tried to add a padding to the .container, it worked in a way, but the moment you
change the screen size it's a disaster, all becomes very tiny.
Thanks!
<div class="titolo">
<h1>Esercitazione</h1>
<h2>Riprodurre un layout</h2>
</div>
<div class="super">
<div class="container">
<img src="1.jpeg">
<img src="2.jpeg">
<img src="3.jpeg">
<img src="4.jpeg">
<img src="5.jpeg">
<img src="6.jpeg">
<img src="7.jpeg">
<img src="8.jpeg">
<img src="9.jpeg">
<img src="10.jpeg">
</div>
</div>
[![enter image description here][1]][1]
.titolo {
padding: 30px;
}
h1 {
text-align: center;
font-family: 'Roboto', sans-serif;
}
h2 {
text-align: center;
font-family: 'Times New Roman', Times, serif;
font-style: italic;
}
/* immagini */
.container {
column-count: 3;
column-gap: 20px;
margin:70px auto;
}
img {
width: 100%;
margin-bottom: 1em;
}
#media (max-width: 800px) {
.container {
column-count: 2;
}
}
#media (max-width: 400px) {
.container {
column-count: 1;
}
}
[1]: https://i.stack.imgur.com/5Q07p.jpg
Your images are currently set to take up the full width of your container. So the width of your images are going to adjust in relation to the width of the page and the number of containers you're choosing to display at that width. I made a version and added some common breakpoints, take a look and let me know if that's what you're looking to do.
.titolo {
padding: 30px;
}
h1 {
text-align: center;
font-family: 'Roboto', sans-serif;
}
h2 {
text-align: center;
font-family: 'Times New Roman', Times, serif;
font-style: italic;
}
/* immagini */
.container {
column-count: 4;
column-gap: 20px;
margin:70px auto;
}
img {
width: 100%;
margin-bottom: 1em;
}
#media (max-width: 1200px) {
.container {
column-count: 3;
}
}
#media (max-width: 992px) {
.container {
column-count: 2;
}
}
#media (max-width: 768px) {
.container {
column-count: 1;
}
}
<div class="titolo">
<h1>Esercitazione</h1>
<h2>Riprodurre un layout</h2>
</div>
<div class="super">
<div class="container">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
<img src="https://i.stack.imgur.com/5Q07p.jpg">
</div>
</div>
in my opinion to resize the image by wrapping it with a div element class .container-img which the style remains the same as before, but the img element must be styled width: 80%; margin: 0 auto;
[![enter image description here][1]][1]
.titolo {
padding: 30px;
}
h1 {
text-align: center;
font-family: "Roboto", sans-serif;
}
h2 {
text-align: center;
font-family: "Times New Roman", Times, serif;
font-style: italic;
}
/* immagini */
.container {
column-count: 3;
column-gap: 20px;
margin: 70px auto;
}
.container-img {
width: 100%;
display: flex;
margin-bottom: 1em;
}
.container-img img {
width: 80%;
margin: 0 auto;
}
#media (max-width: 800px) {
.container {
column-count: 2;
}
}
#media (max-width: 400px) {
.container {
column-count: 1;
}
}
[1]: https://i.stack.imgur.com/5Q07p.jpg
<body>
<div class="titolo">
<h1>Esercitazione</h1>
<h2>Riprodurre un layout</h2>
</div>
<div class="super">
<div class="container">
<div class="container-img">
<img src="1.jpeg" />
</div>
<div class="container-img">
<img src="2.jpeg" />
</div>
<div class="container-img">
<img src="3.jpeg" />
</div>
<div class="container-img">
<img src="4.jpeg" />
</div>
<div class="container-img">
<img src="5.jpeg" />
</div>
<div class="container-img">
<img src="6.jpeg" />
</div>
<div class="container-img">
<img src="7.jpeg" />
</div>
<div class="container-img">
<img src="8.jpeg" />
</div>
<div class="container-img">
<img src="9.jpeg" />
</div>
<div class="container-img">
<img src="10.jpeg" />
</div>
</div>
</div>
</body>
to resize image change style width : in class .container-img img

css flex - make gap between divs

When in a landscape mode, I need to separate/make a gap (around 10-20px) between the two columns without using a border or anything like that. I tried everything and it still doesn't work, what am i missing? I tried putting margins, but it doesn't help, what's the best way to solve this?
#media screen and (min-width: 567px) {
.container {
display: flex;
flex-flow: row wrap;
}
.container li {
flex-basis: 50%;
max-width: 50%;
}
}
.item {
display: flex;
align-items: center;
padding-top: 5px;
}
.title {
font-weight: 500;
font-size: 22px;
padding-bottom: 18px;
}
.item-image {
flex-basis: 85px;
min-width: 85px;
padding-bottom: 30px;
}
.item .item-image img {
display: inline-block;
vertical-align: middle;
border-radius: 20px;
width: 100%;
}
.item .item-info {
border-bottom: 1px solid rgb(207, 206, 206);
padding-bottom: 20px;
flex-basis: 100%;
margin-left: 15px;
}
<ul class="container">
<li>
<div class="item">
<div class="item-image">
<a href="">
<img src="root-icon.png" alt="">
</a>
</div>
<div class="item-info">
<div class="item-title">Something</div>
<div class="item-subtitle">Something</div>
<div class="item-button-container">
<a class="button" href="#">GET</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<div class="item-image">
<a href="">
<img src="root-icon.png" alt="">
</a>
</div>
<div class="item-info">
<div class="item-title">Something</div>
<div class="item-subtitle">Something</div>
<div class="item-button-container">
<a class="button" href="#">GET</a>
</div>
</div>
</div>
</li>
</ul>
Just add something like gap: 5px to your container with flex layout
Thanks to #AbsoluteBeginner this feature is supported not everywhere. See here: https://caniuse.com/flexbox-gap
Add margin-right to the element if you want to stick to flexbox.
Otherwise - try out css grid, super easy with grid-gap to add the gap you need.
https://www.w3schools.com/css/css_grid.asp
You can add this CSS rule:
ul.container > *:nth-child(odd) .item-info {
margin-right: 50px;
}
It adds a right marging to every odd .item-info (or more precisely: to every .item-info inside every odd direct child element of the .container element)
#media screen and (min-width: 567px) {
.container {
display: flex;
flex-flow: row wrap;
}
.container li {
flex-basis: 50%;
max-width: 50%;
}
}
.item {
display: flex;
align-items: center;
padding-top: 5px;
}
.title {
font-weight: 500;
font-size: 22px;
padding-bottom: 18px;
}
.item-image {
flex-basis: 85px;
min-width: 85px;
padding-bottom: 30px;
}
.item .item-image img {
display: inline-block;
vertical-align: middle;
border-radius: 20px;
width: 100%;
}
.item .item-info {
border-bottom: 1px solid rgb(207, 206, 206);
padding-bottom: 20px;
flex-basis: 100%;
margin-left: 15px;
}
ul.container > *:nth-child(odd) .item-info {
margin-right: 50px;
}
<ul class="container">
<li>
<div class="item">
<div class="item-image">
<a href="">
<img src="root-icon.png" alt="">
</a>
</div>
<div class="item-info">
<div class="item-title">Something</div>
<div class="item-subtitle">Something</div>
<div class="item-button-container">
<a class="button" href="#">GET</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<div class="item-image">
<a href="">
<img src="root-icon.png" alt="">
</a>
</div>
<div class="item-info">
<div class="item-title">Something</div>
<div class="item-subtitle">Something</div>
<div class="item-button-container">
<a class="button" href="#">GET</a>
</div>
</div>
</div>
</li>
</ul>

How to fit images set like facebook in bootstrap css & angular 7

I want to fit images set like facebook photo albums showing in newsfeed.
When I'm trying this it will show with huge spaces.
here is my code
html code
<div class="pCollection">
<div class="row pCollection-header">
<div *ngFor="let photo of getPhotos(); let i=index" class="col-md-6">
<div *ngIf="photos.length > 4">
<div *ngIf="i != 3">
<div class="card">
<div class="card-img-wrapper">
<img class="card-img-top" (click)="open(i)" src="{{photo.src}}" alt="">
<div class="overlay">
<p *ngIf="i == 3" class="restImages"> + {{photos.length - 4}}</p>
</div>
</div>
</div>
</div>
<div *ngIf="i == 3">
<div class="card">
<div class="card-img-wrapper">
<img class="card-img-top" (click)="open(i)" src="{{photo.src}}" alt="">
<div class="overlay">
<p class="restImages"> + {{photos.length - 4}}</p>
</div>
</div>
</div>
</div>
</div>
<div *ngIf="photos.length < 5">
<div class="card">
<div class="card-img-wrapper">
<img class="card-img-top" (click)="open(i)" src="{{photo.src}}" alt="">
</div>
</div>
</div>
</div>
</div></div>
this is my css code
.pCollection-header .col-md-6 {
padding-left: 0;
padding-right:0;
}
.pCollection {
overflow: hidden;
}
.card{
cursor: pointer;
}
.card-img-wrapper {
position: relative;
/* background: rgba(0, 0, 0, 0.7); */
}
.card-img-wrapper img{
background: rgba(0, 0, 0, 0.7);
}
.overlay{
position: absolute;
top: 35%;
left: 36%;
z-index: 1000;
}
.restImages {
color: #fff;
font-size: 35px;
}
#media (min-width: 576px) {
.restImages {
font-size: 24px;
}
}
#media (min-width: 768px) {
.restImages {
font-size: 24px;
}
}
#media (min-width: 992px) {
.restImages {
font-size: 35px;
}
}
#media (min-width: 1200px) {
.restImages {
font-size: 35px;
}
}
this is the screenshot for this code
this is the screenshot for what I'm expecting
please anyone know how to do this,please help me.I wasted few days for this issue.
You can use jQuery plugin for this if you want. You can see the demo it's exactly what you want.
Try this CSS for the stackblitz which you created...
p {
font-family: Lato;
}
.paddingReset>div{
padding:0;
}
.img-responsive-custom{
max-width: 100%;
display:block;
height: auto;
}
.left-set>img{
border-right:2px;
border-bottom: 0px;
border-left:2px;
border-style: solid;
border-color: #fff;
}
.right-set>img{
border-top:1px;
border-right:2px;
border-left:2px;
border-style: solid;
border-color: #fff;
}
.column9Custom{width:75%;}
.column3Custom{width:25%;}

Rearrange bootstrap grid into different numbers of columns without code duplications

I have a problem with dinamiacally rearranging my div boxes.
I need two version:
mobile (one column beneath each other):
<div>A</div>
<div>B</div>
<div>C</div>
Any other (the middle one slides out from between the two others):
<div class="col-lg-4">
<div>A</div>
<div>C</div>
</div>
<div class="col-lg-8">
<div>B</div>
</div>
I can manage this with code duplications and visible/hidden pairs, but is there a solution without these? Especially I don't want code duplications...
Thanks,
edit:
unluckily, I forgot to add there is another complication:
I need several 100% width elements under this whole ABC thing, and height of the B element changes...
This setup shows that the D and the B overlaps. I want to position the D under the B...:
<div class="container">
<div class="row parent-row">
<div class="col-lg-4 div-wrap">
<div class="a">A</div>
<div class="b">B<br>B<br>B<br>B<br>B</div>
<div class="c">C</div>
<div class="d">DDDDDDDDDDD DDDDDDDDD DDDDDDDDDDDDDDDDD DDDDD DDDDDDDDDDDDDDDDDD DDDDDDDDDDDDD DDDDDDDD DDDDDDDDDDDDDD</div>
</div>
</div>
</div>
#media (min-width: 1200px) {
.b{
position:absolute;
top: 0;
right:0;
width: 66.66666667%;
padding-right: 15px;
padding-left: 15px;
min-height:1px;
}
.d{
position:absolute;
right:0;
width:100%;
padding-right: 15px;
padding-left: 15px;
min-height:1px;
}
.div-wrap{
position:initial;
clear:both;
}
.parent-row{
position:relative;
clear:both;
}
}
See if this will do the trick for you:
http://codepen.io/panchroma/pen/xRqgJe
The important bit is that when the viewport is wider than the stacked mobile view, you use a media query to take div 'B' out of normal flow by applying 'position:absolute'. And at the same time you manually apply the Bootstrap CSS styling for a 'col-lg-8' div, and you also tweak the positioning of its parents (.div-wrap and .parent-row) so that .B floats to the correct position.
Good luck
HTML
<div class="container">
<div class="row parent-row">
<div class="col-lg-4 div-wrap">
<div class="a">A</div>
<div class="b">B</div>
<div class="c">C</div>
</div>
</div>
</div>
CSS
#media (min-width: 1200px) {
.b{
position:absolute;
top: 0;
right:0;
width: 66.66666667%;
padding-right: 15px;
padding-left: 15px;
min-height:1px;
}
.div-wrap{
position:initial;
}
.parent-row{
position:relative;
}
}
You don't need to use absolute position. Apply float: right; and clear: left; properties instead.
I've tested two situations:
block A is higher than B
block B is higher than A
Please check the result: http://codepen.io/glebkema/pen/dOezEz
/* Heart of the matter */
#media (min-width: 1200px ) {
.clear-lg-left {
clear: left;
}
.pull-lg-right {
float: right !important;
}
}
/* Tests */
.tests {
margin-top: 14px;
}
.tests > div {
font-size: 28px;
font-weight: bold;
color: #fff;
padding-top: 6px;
}
.tests > div:nth-of-type(1) { background: #9c6; min-height: 120px; }
.tests > div:nth-of-type(2) { background: #f93; min-height: 80px; }
.tests > div:nth-of-type(3) { background: #69c; min-height: 80px; }
.test-2 > div:nth-of-type(2) { background: #f93; min-height: 160px; }
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<div class="container">
<div class="row tests">
<div class="col-lg-4">A</div>
<div class="col-lg-8 pull-lg-right">B</div>
<div class="col-lg-4 clear-lg-left">C</div>
</div>
<div class="row tests test-2">
<div class="col-lg-4">A</div>
<div class="col-lg-8 pull-lg-right">B</div>
<div class="col-lg-4 clear-lg-left">C</div>
</div>
</div>

Nav bar looks wrong in IE 8 with Twitter Bootstrap 3.3.4

Ok I'm appologizing up front it there has been a similar question where there has, and I've tried everything so far that I have read! Maybe there is something else I'm missing. This will be my first live Bootstrap site. I have a few pages on a testing domain.
It seems to be looking great in all modern browsers, my problem is IE (of course), it looks fine in ie 9 but the nav bar looks well, terrible in IE 8, (I don't care about ie7!) I would at least like it to look OK in IE 8.
Based on other blog posts I HAVE already included the following into source code head of my site to help in the rendering of older versions of IE:
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
Here is the testing site URL: www.amystout.com/meridian/irrigation.html
Here is how the nav bar is 'wrongly' getting displayed in IE 8,
Flickr page
Here's the code for that page:
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19558625-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
body {
background-color: #C4C0BF;
background-image:url(../images/background_light_slice.jpg);
background-repeat:repeat-x
}
.glow {
background-image:url(../images/background_light.jpg);
background-repeat:no-repeat;
}
#logo-box img {
border:none;
margin-top: 25px;
}
.slogan {
float:right;
margin-top: 75px;
}
.starter-template {
text-align: center;
background-color: #C4C0BF;
}
.float-right {
float: right;
margin-left: 1.5%;
}
img {
border: 2px solid #FFF;
}
.float-left {
float: left;
}
.align-right {
text-align:right;
}
.container-wrap {
}
.nav-wrap {
border-top:1px solid #dedede;
border-bottom:1px solid #dedede;
background-color:#333333;
}
nav.navbar.navbar-default {
background-color:#333333;
border:none;
}
.navbar {
margin-bottom:0;
}
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
color:#efeeee;
}
.navbar-default .navbar-nav>li>a {
color: #b8b6b6;
}
.bubble-wrap {
background-image: url(../images/water-drop-banner.jpg);
background-repeat: repeat-x;
width: 100%;
height: 43px;
border-top-width: 3px;
border-top-style: solid;
border-top-color: #03F;
margin: 0px;
padding: 0px;
}
.row {
margin-top:20px;
}
.center {
text-align: center;
}
.clear {
clear:both
}
.example blockquote {
background:#f9f9f9;
border-left:10px solid #333;
margin:1.5em 10px;
padding:.5em 10px;
blockquote {
background:#f9f9f9;
border-left:10px solid #ccc;
margin:1.5em 10px;
padding:.5em 10px;
quotes:"201C""201D""2018""2019";
}
}
.example blockquote:before {
color:#333;
content:open-quote;
font-size:4em;
line-height:.1em;
margin-right:.25em;
vertical-align:-.4em;
}
.example blockquote p {
display:inline;
}
hr {
width:75%;
}
ul.fa-ul li {
list-style-type:none;
line-height:1.2;
font-size:36px;
}
i.fa-li.fa.fa-check-square-o.fa-2, i.fa-li.fa.fa-check-square-o.fa-4 {
color:red;
font-weight:500;
}
.green {
color: #339933;
}
.address {
}
.greenhouse-attn {
width:100%;
padding-top:55px;
padding-bottom:55px;
}
.greenhouse-list {
width:80%;
margin:0 auto;
}
/*
#contact {
width: 300px;
margin-top: 75px;
margin-bottom: 50px;
height: 200px;
margin-left: 45px;
float: left;
}*/
#contact-form {
float:left;
margin-bottom: 40px;
}
.footer {
position: relative;
width: 100%;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 0;
background-image: none;
background-repeat: repeat-x;
margin-top: 0px;
clear: both;
height: 350px;
background-color: #333333;
}
footer.footer .row {
margin-top:0;
}
#social-icons {
margin-left: 55px;
margin-top: 25px;
}
.feature-margin {
margin-top:35px;
margin-bottom:45px;
}
i.fa.fa-hand-o-right {
color:blue;
font-size:2rem;
margin-left:8px;
margin-right:8px;
}
/* Portrait tablets and medium desktops */
#media (min-width: 992px) and (max-width: 1199px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
}
/* Portrait tablets and small desktops */
#media (min-width: 768px) and (max-width: 991px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
}
/* Landscape phones and portrait tablets */
#media (max-width: 767px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
.slogan {
margin-top:0;
float:none;
margin-bottom: 25px;
}
}
/* Landscape phones and smaller */
#media (max-width: 480px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
}
body {
background-color: #C4C0BF;
background-image:url(../images/background_light_slice.jpg);
background-repeat:repeat-x
}
.glow {
background-image:url(../images/background_light.jpg);
background-repeat:no-repeat;
}
#logo-box img {
border:none;
margin-top: 25px;
}
.slogan {
float:right;
margin-top: 75px;
}
.starter-template {
text-align: center;
background-color: #C4C0BF;
}
.float-right {
float: right;
margin-left: 1.5%;
}
img {
border: 2px solid #FFF;
}
.float-left {
float: left;
}
.align-right {
text-align:right;
}
.container-wrap {
}
.nav-wrap {
border-top:1px solid #dedede;
border-bottom:1px solid #dedede;
background-color:#333333;
}
nav.navbar.navbar-default {
background-color:#333333;
border:none;
}
.navbar {
margin-bottom:0;
}
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
color:#efeeee;
}
.navbar-default .navbar-nav>li>a {
color: #b8b6b6;
}
.bubble-wrap {
background-image: url(../images/water-drop-banner.jpg);
background-repeat: repeat-x;
width: 100%;
height: 43px;
border-top-width: 3px;
border-top-style: solid;
border-top-color: #03F;
margin: 0px;
padding: 0px;
}
.row {
margin-top:20px;
}
.center {
text-align: center;
}
.clear {
clear:both
}
.example blockquote {
background:#f9f9f9;
border-left:10px solid #333;
margin:1.5em 10px;
padding:.5em 10px;
blockquote {
background:#f9f9f9;
border-left:10px solid #ccc;
margin:1.5em 10px;
padding:.5em 10px;
quotes:"201C""201D""2018""2019";
}
}
.example blockquote:before {
color:#333;
content:open-quote;
font-size:4em;
line-height:.1em;
margin-right:.25em;
vertical-align:-.4em;
}
.example blockquote p {
display:inline;
}
hr {
width:75%;
}
ul.fa-ul li {
list-style-type:none;
line-height:1.2;
font-size:36px;
}
i.fa-li.fa.fa-check-square-o.fa-2, i.fa-li.fa.fa-check-square-o.fa-4 {
color:red;
font-weight:500;
}
.green {
color: #339933;
}
.address {
}
.greenhouse-attn {
width:100%;
padding-top:55px;
padding-bottom:55px;
}
.greenhouse-list {
width:80%;
margin:0 auto;
}
/*
#contact {
width: 300px;
margin-top: 75px;
margin-bottom: 50px;
height: 200px;
margin-left: 45px;
float: left;
}*/
#contact-form {
float:left;
margin-bottom: 40px;
}
.footer {
position: relative;
width: 100%;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 0;
background-image: none;
background-repeat: repeat-x;
margin-top: 0px;
clear: both;
height: 350px;
background-color: #333333;
}
footer.footer .row {
margin-top:0;
}
#social-icons {
margin-left: 55px;
margin-top: 25px;
}
.feature-margin {
margin-top:35px;
margin-bottom:45px;
}
i.fa.fa-hand-o-right {
color:blue;
font-size:2rem;
margin-left:8px;
margin-right:8px;
}
/* Portrait tablets and medium desktops */
#media (min-width: 992px) and (max-width: 1199px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
}
/* Portrait tablets and small desktops */
#media (min-width: 768px) and (max-width: 991px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
}
/* Landscape phones and portrait tablets */
#media (max-width: 767px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
.slogan {
margin-top:0;
float:none;
margin-bottom: 25px;
}
}
/* Landscape phones and smaller */
#media (max-width: 480px) {
.col-md-7 h2.featurette-heading.align-right {
text-align:initial;
}
}
#mc_embed_signup{
font-size:14px;
color:#b8b6b6;
margin-top:17px;
}
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet"/>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container glow img-responsive">
<div id="logo-box"><img src="images/meridian-logo.png" width="363" height="184" class="float-left img-responsive"/>
<div class="slogan">
<img src="images/commercial-filtration-specialists.png" width="355" height="19" alt="Commercial & Light Industrial Filtration Specialists" class="center-block" />
</div>
</div>
</div>
<div class="container"></div>
<div class="nav-wrap">
<div class="container">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button> <a class="navbar-brand" href="index.html">Meridian - Home</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="Abouiron-removal-system.html" class="dropdown-toggle" data-toggle="dropdown">About & Examples
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>Iron Removal System</li>
<li>Completed System Photos</li>
</ul>
<!--end of dropdown menu -->
</li>
<!--end of dropdown list items -->
<li>Greenhouse & Nursery</li>
<li>Irrigation</li>
<li>Features</li>
<li>Contact</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
</div>
</div>
<!--end of container with header and nav -->
<div class="container-wrap">
<div class="container">
<div class="row">
<div class="col-md-6">
<article>
<header>
<h1>Meridian Water Filtration: Irrigation & Residential water solutions</h1>
</header>
<p>Besides solutions for greenhouse and nursery water problems Meridian Water Filtration has irrigation and filtration available for:</p>
<p>These filtration systems will eliminate all of the problems related to iron such as staining. Often condo complexes, housing developments and golf courses experience trouble with staining on items like fencing, sinage or lawn furniture. Anything vinyl or plastic may be susceptible to such unsightly iron stains.</p>
<p>Your customers will notice beautiful property not water stains!</p>
<p>With Meridian Iron removal solutions we will help you make sure; they will view your property exactly how you intend them too!</p>
</article>
</div>
<!--end of first col -->
<div class="col-md-6">
<img src="images/golf-course-filtration.jpg" width="600" height="400" alt="Flowers in a greenhouse" class="img-responsive center-block" />
</div>
</div>
</div>
</div>
<div class="container-wrap">
<div class="container">
<div>
<div class="greenhouse-attn">
<h3 class="center">Besides solutions for greenhouse and nursery water problems Meridian Water Filtration has irrigation and filtration available for:</h3>
<div class="list-wrap">
<div class="greenhouse-list">
<ul class="fa-ul">
<li><i class="fa-li fa fa-check-square-o fa-2" style="color:green"></i>Condominium complexes</li>
<li><i class="fa-li fa fa-check-square-o fa-2" style="color:green"></i>Golf Courses</li>
<li><i class="fa-li fa fa-check-square-o fa-2" style="color:green"></i>Agriculture</li>
<li><i class="fa-li fa fa-check-square-o fa-2" style="color:green"></i>Residential irrigation</li>
<li><i class="fa-li fa fa-check-square-o fa-2" style="color:green"></i>Residential sulfur removal</li>
</ul>
</div>
</div>
<p class="lead">
<br/>
</p>
</div>
</div>
</div>
</div>
<div class="container">
<!--end of row -->
</div>
<!--end of column container -->
<p></p>
<!--end of main container which contains the colmns and the quotes -->
<div class="bubble-wrap">
<!--contains bubble ribbon -->
<div class="container"></div>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<div id="social-icons">
<a href="//plus.google.com/104130344147331418420?prsrc=3" target="_new" style="text-decoration:none;" rel="publisher">
<img src="//ssl.gstatic.com/images/icons/gplus-32.png" alt="Google+" style="border:0;width:32px;height:32px;"/>
</a>
</div>
</div>
<div class="col-md-4">
<div>
<div id="mc_embed_signup">
<form action="//meridianwaterfiltration.us10.list-manage.com/subscribe/post?u=295abf2c8365b6eb68c704c9e&id=3c6eb9409c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL">Subscribe to our mailing list</label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required />
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;">
<input type="text" name="b_295abf2c8365b6eb68c704c9e_3c6eb9409c" tabindex="-1" value="" />
</div>
<div class="clear">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button" />
</div>
</div>
</form>
</div>
<!--End mc_embed_signup-->
</div>
</div>
<div class="col-md-4">.col-md-4</div>
</div>
</div>
<!--End container-->
</footer>

Resources