Solved

Bootstrap - header image

Posted on 2014-02-20
3
446 Views
Last Modified: 2014-02-20
Live site is here
http://www.wiplastic.com/

Beta Bootstrap site here
http://nsitedesigns.com/nsitedesigns/wiplastic_scott/index.html

1.  How do I fix state icon so it floats off page like live site?
2.  Is there a more comparable font that I can use which is responsive?
0
Comment
Question by:nsitedesigns
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 250 total points
ID: 39874921
The two pages are built differently - the live site is an image of everything.

On the new site add a new div just before your "header row" class div.

and give it this css
   background: #000;
    height: 30px;
    margin: 0 -15px;


And add this class to your css file
.logoimg > img {
    margin-top: -20px;
}

Tweak as necessary
0
 
LVL 56

Assisted Solution

by:Julian Hansen
Julian Hansen earned 250 total points
ID: 39875102
An alternative to the above is to give the container a background of black and a top padding of say 50px; then add a negative margin to the image.
<div class="container" style="background: black; padding-top: 50px;">
    <div class="header row">
      <div class="col-xs-4 col-sm-2 logoimg">
            <img src="img/wisc.png" style="margin-top: -40px;">
 ...

Open in new window

0
 

Author Closing Comment

by:nsitedesigns
ID: 39875166
yeah!  it worked!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to combine and minify CSS and JS files 5 36
asp Google Map 2 55
Make footer stick to bottom 6 27
CSS for <center> 14 31
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question