I want to icon and the headings in the same line like this:
but I still got like this:
The Code:
.icon-small i{
height: 38px;
width: 38px;
color: #fff;
background-color: #888;
border-radius: 10%;
text-align: center;
vertical-align: middle;
padding-top: 12px;
}
.icon-small + p{
margin-top: 15px;
}
.icon-small h4,
.icon-small h5{
text-align: left;
}
<div class="row">
<div class="col span-1-of-3">
<span class="icon-small">
<i class="fa fa-television"></i>
<h4>Web applications</h4>
<h5>Mobile & Tablets Ready</h5>
</span>
<p>Powerful, fast and robust web applications to cater for complex business needs.</p>
</div>
<div class="col span-1-of-3">
<span class="icon-small">
<i class="fa fa-mobile-phone"></i>
<h4>Mobile apps</h4>
<h5>For the iPhone, iPad & Android</h5>
</span>
<p>Apps that connect directly to your customers.</p>
</div>
<div class="col span-1-of-3">
<span class="icon-small">
<i class="fa fa-image"></i>
<h4> Graphic </h4>
<h5>Infographics, site designs and more</h5>
</span>
<p>Let our graphics speak the thousand words that you simply don't have the time to say.</p>
</div>
</div>
I just few things but it not worked. I used Font Awesome and responsive grid system.
I used this to reset the default styles:
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
I think you want to float the icon:
.icon-small i {
float: left;
margin-right: 10px;
/* ... */
}
And for good measure:
.icon-small + p {
clear: left;
/* ... */
}
https://jsfiddle.net/mblase75/e42rsw04/
You can either use display:inline-block on the parent and display:inline on the children - or, you can use the :before pseudoclass and position it using absolute positioning.
<div class="logo">
<div class="text">Some Text</div>
</div>
.text{
position:relative;
}
.text::before {
position:absolute;
margin-left: -30px;
background-image: url("youricon.png");
background-color: #fff;
height:<<height of your icon goes here>>;
width:<<width of your icon goes here>>;
}
OR
<div class="logo">
<div class="icon"><img src="youricon.png" alt="Logo"></div>
<div class="text">Some Text</div>
</div>
.logo{
display: inline-block;
width: 100%;
}
.icon, .text {
display:inline;
}
.text{
margin-left:10px;
}
Just use position:absolute for the icon inside the icon-text block.
.icon-small {
position: relative;
padding: 0 0 0 48px; /* 38px icon width + 10px gap between icon and text */
}
.icon-small i {
height: 38px;
width: 38px;
position: absolute;
left: 0;
top: 0;
}
Since no one suggested using flexbox
take a look into this http://jsfiddle.net/hnsd4np6/2/
<div class="row container">
<div class="col span-1-of-3 box">
<span class="icon-small">
<i class="fa fa-television"></i>
<div class="details">
<h4>Web applications</h4>
<h5>Mobile & Tablets Ready</h5>
</div>
</span>
<p>Powerful, fast and robust web applications to cater for complex business needs.</p>
</div>
<div class="col span-1-of-3 box">
<span class="icon-small">
<i class="fa fa-mobile-phone"></i>
<div class="details">
<h4>Mobile apps</h4>
<h5>For the iPhone, iPad & Android</h5>
</div>
</span>
<p>Apps that connect directly to your customers.</p>
</div>
<div class="col span-1-of-3 box">
<span class="icon-small">
<i class="fa fa-image"></i>
<div class="details">
<h4> Graphic </h4>
<h5>Infographics, site designs and more</h5>
</div>
</span>
</div>
</div>
Some of the thing newly added in the html part are
added class container to the class row
added a class box to class col span-1-of-3 to to separate each product separately
Added class details to separate the icon and its descriptions
CSS
styles for the above newly added classes
.icon-small{
display:flex;
flex-direction:row;
align-items:center;
}
.details{
padding:0 1em;
}
.box{
border:1px solid #333;
background-color:#fff;
width:300px;
padding:1em;
}
.container{
display:flex;
flex-direction:row;
flex-wrap:wrap;
border:1px solid #333;
background-color:powderblue;
}
<br>
if you want to know more about flexbox clickhere
Related
I have a printing page in a website that prints labels for shoes as the picture shows. This had been working for more than 3 years. Two days ago, this broke as shown, the labels or page-break-after stopped working properly.
I looked online but could not know what went wrong.
The correct behaviour is to view each label in a page, so the label printer can print it correctly.
Code:
CSS
h1, h3, h2, h4 {
margin-bottom: 1px;
}
h6 {
margin: 0px;
direction: ltr;
}
.col-4, .col-2, .col-8 {
padding: 1px;
}
#page {
size: 10cm 5cm;
margin: 0.2cm;
}
img {
width: 95%;
height: 60px;
}
p.att-value {
font-family: 'Almarai', sans-serif;
font-size: larger;
margin: 0;
padding: 2px;
}
span.value-block {
background-color: black;
color: white;
padding: 5px;
}
.a-label {
height: 10cm;
width: 5cm;
padding-top: 5px;
padding-right: 30px;
margin-bottom: 0.1cm;
}
#media print{
html, body {
width: 10cm;
height: 5cm;
}
.pagebreak {
break-inside: avoid;
break-after: page;
}
}
<div class="a-label">
<div class="row">
<div class="col-12 text-center">
<img src="https://i.stack.imgur.com/FxCHC.png">
<h6>123456</h6>
</div>
</div>
<div class="row">
<div class="col-12">
<h3>Shoe Name</h3>
<p class="att-value">
<span class="value-block">Product Name</span>
<span class="value-block">Size: 36</span>
<span class="att-value"> 250 usd</span>
</p>
</div>
</div>
</div>
<div class="pagebreak"></div>
<div class="a-label">
<div class="row">
<div class="col-12 text-center">
<img src="https://i.stack.imgur.com/FxCHC.png">
<h6>123456</h6>
</div>
</div>
<div class="row">
<div class="col-12">
<h3>Shoe Name 2</h3>
<p class="att-value">
<span class="value-block">Product Name</span>
<span class="value-block">Size: 36</span>
<span class="att-value"> 250 usd</span>
</p>
</div>
</div>
</div>
<div class="pagebreak"></div>
This feature broke on all browsers
It worked after I updated to the latest bootstrap, specifically version 5.
It is unclear to me why it broke suddenly. This feature worked 3 years.
So, the comment from #AndrewMorton was helpful. The credit goes to him.
This is a wordpress site http://www.jokerleb.com
Each cell has the following code
.post-block-out {
margin: 0 0 8px 0;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.post-block-out {
background: #fff;
-webkit-border-radius: 6px;
border-radius: 6px;
box-shadow: 0 2px 0 0 #E3E4E7;
}
div{
display: block;
}
post-block {
background-color: #fff;
margin: 0;
padding: 20px 15px 15px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.post-block-out, .searchblock, .paging, .sidebar-block {
background: #fff;
-webkit-border-radius: 6px;
border-radius: 6px;
box-shadow: 0 2px 0 0 #E3E4E7;
}
.content_res {
width: auto;
}
.content_left{
width:30%;
float: none;
margin: auto;
padding: auto;
}
<div class="content_res">
<div class="content_left">
<div class="post-block-out ">
<div class="post-block">
<div class="post-left">
<img class="attachment-ad-medium" alt="" title="" src="http://www.jokerleb.com/wp-content/themes/classipress/images/no-thumb-150x150.png">
</div>
<div class="post-right full">
<div class="tags price-wrap">
<span class="tag-head"><p class="post-price">$1600$</p></span>
</div>
<h3>Kyosk 2m×2m</h3>
<div class="clr"></div>
<p class="post-meta">
<span class="dashicons-before folder">Other Home & Garden</span> <span class="dashicons-before owner">Charbel</span> <span class="dashicons-before clock"><span>August 25, 2017</span></span>
</p>
<div class="clr"></div>
<p class="post-desc">Kyosk ma3moul la snack fi haute rekeb fi madfouf PVC ma3 inaraaa</p>
<p class="stats">23 total views, 0 today</p>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div><!-- /post-block -->
</div>
</div>
</div>
that snippet is affecting every box on the page, they are now aligned in the middle. I want them to be 3 columns per row.
No bootstrap or any grid library because it's affecting the theme, i guess maybe because it has a class called container, so when using bootsrap, the container centers everything. If you know a library that doesn't conflict with the existing code I'd use it.
It's a very old wordpress theme, many of the styles are stored in the database so if I need to add class I might have to do it in jquery
http://jsfiddle.net/tusharj/ucb0bdmj/
Don't worry about it. And you'll see on the website duplicate css code, don't worry about it, I use a plugin to manage css in the development phase, the code I don't want is display:none
All I want is 3 columns on each row. I tried to add float the first left and the third right but the problem is that they move only within their container.
Plus I don't know where to place <div class='row'>, I was trying to do it with bootstrap just to see if it would work, I didn't spot the correct place to create new row
If this is what you expect
Follow this to make it work:
Remove width: 30% of class .content_left
Add display: flex; flex-wrap: wrap; to block you want to show. (In this case was the div with id="block1"
Add width of 33% for each div with class post-block-out
You can try to add some margin or padding to make the gap between divs.
important: I guess this is better than use floats if you want to avoid conflicts. And, if you want to make it responsive, just use media queries and add width: 100%; to each div with class post-block-out
You can try this responsive solution:
* {margin: 0; padding: 0; box-sizing: border-box}
.content-left {
position: relative;
width: 1200px;
max-width: 100%;
margin: 0 auto;
column-count: 3;
column-gap: 10px;
}
.content-left > .post-block-out {
position: relative;
margin-bottom: 10px;
page-break-inside: avoid;
break-inside: avoid-column;
box-shadow: 0 0 1px #000;
}
.content-left > .post-block-out > img {
display: block;
width: 460px;
max-width: 100%;
}
.content-left > .post-block-out > .info {
display: flex;
justify-content: space-between;
position: absolute;
left: 0;
bottom: 0;
width: 100%;
padding: 10px;
color: #fff;
background: #000;
opacity: .75;
}
.content-left > .post-block-out > .info > span {
margin: 0 5px;
}
.content-left > .post-block-out > .info > .title {
text-transform: uppercase;
}
#media (max-width: 1200px) {
.content-left {padding: 0 10px}
}
#media (max-width: 768px) {
.content-left {column-count: 2}
}
#media (max-width: 480px) {
.content-left {column-count: 1}
}
<div class="content-left">
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/themes/classipress/images/no-thumb-150x150.png" alt="">
<div class="info">
<span class="title">Kyosk 2m x 2m</span><span class="price-tag">$1,600.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/809926-250x250.jpeg" alt="">
<div class="info">
<span class="title">Apartment For Sale in JBEIL</span><span class="price-tag">$180,000.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/118310-250x250.jpg" alt="">
<div class="info">
<span class="title">Apartment for sale in Adonis</span><span class="price-tag">$230,000.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/655212-250x250.jpg" alt="">
<div class="info">
<span class="title">Duplex for sale in Al Ghiye</span><span class="price-tag">$125,000.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/584970-250x250.jpg" alt="">
<div class="info">
<span class="title">Honda CRV 2012</span><span class="price-tag">$19,999.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/628582-250x250.jpg" alt="">
<div class="info">
<span class="title">Malinois puppies For Sale</span><span class="price-tag">$900.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/565460-250x250.jpg" alt="">
<div class="info">
<span class="title">Villa for Sale in Chabtin</span><span class="price-tag">$225,000.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/53048-250x250.jpg" alt="">
<div class="info">
<span class="title">Shop for Sale in Ain el Roumani</span><span class="price-tag">$140,000.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/601563-250x250.jpg" alt="">
<div class="info">
<span class="title">Honda CRV</span><span class="price-tag">$ ???</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/484415-250x250.jpg" alt="">
<div class="info">
<span class="title">Apartment in dekwaneh For Rent</span><span class="price-tag">$700.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/4610-250x250.jpg" alt="">
<div class="info">
<span class="title">Nissan Pathfinder</span><span class="price-tag">$5,000.00</span>
</div>
</div>
<div class="post-block-out">
<img src="http://www.jokerleb.com/wp-content/uploads/2017/05/667783-250x250.jpg" alt="">
<div class="info">
<span class="title">Land for sale at Ain Kfaa<br>(عين كفاع)</span><span class="price-tag">$100,000.00</span>
</div>
</div>
</div>
.content-left {width:100%; }
.post-block-out { float:left; width:33% }
I am currently working on a school assignment where we can only use HTML + CSS (and PHP to include repeated elements, navbar + footer in this case).
For the footer I would like to place 3 elements in the 'Left' - 'Center' - 'Right' part of the footer.
Left: A newsletter bar to enter e-mail with a SIGN UP button
Center: 3 line text - Address, contact, opening hours.
Right: 2 icons - 1 for school and 1 for business'.
This is my code:
HTML:
<footer>
<div class="footer">
<p class="left">Sign up botton here</p>
<p class="right">School - business here</p>
<p class="centered">3 lines with address, contact info, and opening hours.</p>
</div>
CSS:
.left{
text-align:left;
float:left;
}
.right{
float:right;
text-align:right;
}
.centered{
text-align:center;
}
.footer {
position:absolute;
bottom:0;
width:100%;
height:60px;
background:#052D48;
}
.footer p {
color: #fff;
font-size: 8px;
}
How would I go about this? I've been reading and trying stuff for hours, but I just get more confused.
i.imgur.com/6IFJnxF.png Here is a picture of what I have in mind
Hope someone can help me in the right direction, thanks a lot!
Using flexbox and wrapping everything inside a container and a row with a 100% width. Then divide each block by X percentage. I changed the p tags with an unordered list.
.row{
width: 100%;
display: flex;
flex-wrap: wrap;
}
.left{
width: 33%;
height: 40px;
}
.right{
width: 33%
}
.right ul{
list-style: none;
color: white;
}
.middle{
width: 33%
}
.centered{text-align:center;}
.flex{
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.flex-column{
display: flex;
flex-direction: column;
}
.footer {
padding: 20px 10px;
background:#052D48;
}
.footer p{
font-size: 1.3em;
color: #ffffff;
}
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<footer>
<div class="footer">
<div class="row">
<div class="left flex">
<input type="text" class="" placeholder="Email">
<input type="submit" class="" value="Submit">
</div>
<div class="right centered ">
<ul class="flex-column">
<li><i class="fa fa-map-marker" aria-hidden="true"></i> Address.</li>
<li><i class="fa fa-phone" aria-hidden="true"></i> Contact Info</li>
<li><i class="fa fa-clock-o" aria-hidden="true"></i> Opening Hours.</li>
</ul>
</div>
<div class="middle centered">
<p class="">School - business here</p>
</div>
</div>
</div>
</footer>
I would recommend taking the class off of footer and just use the footer tag to target the parent container. Then I would use div tags for each section instead of p tags, putting p tags inside the div. And my last recommendation, although your professor will think you're cheating, is to use flexbox. Enjoy.
Also the box-sizing: border-box; is for the padding I added to the footer so it will still be width: 100%; instead of 100% + 40px
* {
box-sizing: border-box;
}
.left {}
.centered {}
.centered p {}
.right {}
footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background: #052D48;
}
footer p {
margin: 0;
color: green;
font-size: 8px;
}
<footer>
<div class="left">
<p>Sign up botton here</p>
</div>
<div class="centered">
<p>1 line</p>
<p>2 line</p>
<p>3 line</p>
</div>
<div class="right">
<p>School - business here</p>
</div>
</footer>
here is one idea.
https://jsfiddle.net/gztLhdk4/2/
you can customize it more based on your needs.
<footer>
<div class="footer">
<div class="left padd">
<p>
Sign up botton here
</p>
<p>
<input type="text"> <button>sign up </button>
</p>
</div>
<div class="centered padd">
<p>
rttertertert<br>
gereryrt ytyt<br>
tryryrytru
</p>
</div>
<div class="right padd">
<div>
school
</div>
<div>
business
</div>
</div>
</div>
</footer>
.left{
text-align:left;
float:left;
}
.right{
float:right;
text-align:right;
}
.centered{
text-align:center;width:50%;float:left;
}
.footer {
position:absolute;
bottom:0;
width:100%;
height:60px;
background:#052D48;
}
.footer p {
color: #fff;
font-size: 8px;
}
.padd{padding:5px;color:#fff;}
I wanna position the icon to be on top of the sentence and both centered within bootstrap column. I tried changing the position and display in css for both the paragraph and icon but it doesnt work.
Right now it looks like this
I want it to be like this
Here's the code
#home-info {
width: 500px;
height: 200px;
background-color: rgba(0,0,0,0.7);
top: 550px;
z-index: 1;
position: absolute;
}
.col-md-3 {
height: 100px;
background-color: #1e2c38;
text-align: center;
color: white;
border-bottom: 1px solid white;
border-top: 1px solid white;
}
.col-md-4 {
height: 300px;
text-align: center;
background-color: #1b2328;
}
.col-md-3 p {
position: relative;
width: 300px;
text-align: center;
}
<div class="container-fluid"> <!-- HOME INFO -->
<div class="row">
<div class="col-md-3" id="navy2">
<div class="content-container">
<i class="fa fa-newspaper-o fa-3x" aria-hidden="true"></i>
<p>Learn more about our recent events and news!</p>
</div>
</div>
<div class="col-md-3" id="navy3">
<div class="content-container">
<i class="fa fa-calendar fa-3x" aria-hidden="true"></i>
<p>Stay up to date! Get the school's calendar here!</p>
</div>
</div>
<div class="col-md-3" id="navy2">
<div class="content-container">
<i class="fa fa-facebook-square fa-3x" aria-hidden="true"></i>
<p>Like and connect with us via Facebook!</p>
</div>
</div>
<div class="col-md-3" id="navy3">
<div class="content-container">
<i class="fa fa-youtube fa-3x" aria-hidden="true"></i>
<p>Learn more about us through our videos!</p>
</div>
</div>
</div> <!-- ROW -->
Thanks!
You can center it by making the inner p a display:block element and use margin: 0 auto to center it...
.col-md-3 p {
position: relative;
width: 300px;
display: block;
margin: 0 auto;
}
http://www.codeply.com/go/kFJwok7k0T
However, because you have the 300px set on the .col-md-3 p, the text will get cut-off at smaller widths. It would be better to not set any specific width on the .col-md-3 p so that it's responsive.
You may use <br> tag to separate the icon and text. And since you are using font-awesome icons, you use text-align: center to center both the icon and the text.
Hello i spent hours doing this but still can't align the social media icons to the center of text "Connect with us" when it's in desktop size. It's only aligned when it's in mobile size i want them to align to center either its desktop size or mobile. I want the content of the footer to be responsive. I already used media queries but i encounter a problem so i repeat my footer again from the start because its not responsive when in desktop size. Please give me some ideas how to do it or suggestions. Im new to html and css.
here is the desktop size. I want the social media icons to align to the center of text "Connect with us".
here is the mobile size. Its well aligned here.
UPDATE:
This is what i want to do in the first picture. But i repeat my footer because when i minimized it as a desktop its not responsive the alignments, the text, the height it's a disaster so i decided to do it again from the start. I already used media queries before but as a desktop its not working when i minimized it it's not responsive but in mobile size its working.
here is my html code for the footer.
<div class="content">
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="footer-col col-sm-4">
<h4 class="connect">Connect With Us</h4>
<div class="twitter-hover social-slide"></div>
<div class="facebook-hover social-slide"></div>
<div class="linkedin-hover social-slide"></div>
</div>
</div>
</div>
</div>
</footer>
here is my css code.
* {
margin: 0;
}
html, body {
height: 100%;
overflow: auto;
}
.content {
min-height: 100%;
/* equal to footer height */
margin-bottom: auto;
}
.content:after {
content: "";
display: block;
}
.footer, .content:after {
height: auto;
}
.footer {
display: block;
background-color: #a92419;
color:#fff;
font-family: Century Gothic;
width: 100%;
height: auto;
}
h4{
text-align: center;
padding-top: 20px;
}
.twitter-hover {
background-image: url('images/twitter-hover.png');
margin-left: 65px;
}
.facebook-hover {
background-image: url('images/facebook-hover.png');
margin-left: 15px;
}
.linkedin-hover {
background-image: url('images/linkedin-hover.png');
margin-left: 15px;
}
.social-slide:hover {
background-position: 0px -48px;
box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.8);
}
.social-slide{
height: 35px;
width: 38px;
float:left;
-webkit-transition: all ease 0.3s;
-moz-transition: all ease 0.3s;
-o-transition: all ease 0.3s;
-ms-transition: all ease 0.3s;
transition: all ease 0.3s;
}
Update: rewritten my answer completely.
You shouldn't use float:left when you want your content to be centered.
<div class="footer-col col-sm-4">
<h4 class="connect">Connect With Us</h4>
<ul>
<li><span class="twitter-hover social-slide"></span></li>
<li><span class="facebook-hover social-slide"></span></li>
<li><span class="linkedin-hover social-slide"></span></li>
</ul>
</div>
css:
.footer-col h4 {
text-align: center;
}
.footer-col ul {
list-style: none;
text-align: center;
}
.footer-col li {
display: inline;
}
.social-slide {
display: inline-block;
height: 35px;
width: 38px;
line-height: 35px;
margin-left: 15px;
/* don't use float: left! */
}
.social-slide:first-child {
margin-left: 0;
}
.twitter-hover { background-image: url('images/twitter-hover.png'); }
.facebook-hover { background-image: url('images/facebook-hover.png'); }
.linkedin-hover { background-image: url('images/linkedin-hover.png'); }
if you also use bootstrap latest then you use this class
col-sm-offset-......12
you don't know what size of your device you adjust self` col-sm-offset........12345 up to12
for more detail read out
https://getbootstrap.com/examples/grid/
Here is the fiddle
https://jsfiddle.net/brunocoder/ozgntcm2/1/
First of all there is one extra closing div in your footer tag.
You need to use bootstrap offset property to centralize your column. Here is the link http://getbootstrap.com/css/#grid
So your code should be something like this.
Modified HTML
<div class="content">
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="footer-col col-sm-4 col-md-4 col-lg-4 col-md-offset-4">
<h4 class="connect">Connect With Us</h4>
<div class="twitter-hover social-slide"></div>
<div class="facebook-hover social-slide"></div>
<div class="linkedin-hover social-slide"></div>
</div>
</div>
</div>
</footer>
Use bootstrap in every section of your code, like if you have used div inside the div , use bootstrap to align them also as if you not then it will not align themselves according to the screen size.
<footer class="footer">
<div class="container">
<div class="row">
<div class="footer-col col-sm-4 col-md-4 col-lg-4 col-md-offset-4">
<h4 class="connect">Connect With Us</h4>
<a href="https://twitter.com/official_gapc" target="_blank" title="Follow us on Twitter">
<div class="twitter-hover social-slide col-sm-4">
</div>
</a>
<a href="https://www.facebook.com/pages/Governor-Andres-Pascual-CollegeNavotas-City/344134628983014?fref=ts" target="_blank" title="Like us on Facebook">
<div class="facebook-hover social-slide col-sm-4">
</div>
</a>
<a href="https://www.linkedin.com/edu/governor-andres-pascual-college-in-navotas-city-39345" target="_blank" title="Join us on Linkedin">
<div class="linkedin-hover social-slide col-sm-4">
</div>
</a>
</div>
<div class="footer-col col-sm-4 col-md-4 col-lg-4 col-md-offset-4"></div>
<div class="footer-col col-sm-4 col-md-4 col-lg-4 col-md-offset-4"></div>
</div>
</div>
</footer>
place anything you want to place in two div below or remain as it is, might it will help you to make responsive footer.