Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Bootstrap - header image

Posted on 2014-02-20
3
Medium Priority
?
479 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 1000 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 61

Assisted Solution

by:Julian Hansen
Julian Hansen earned 1000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Over time, the online landscape has altered considerably, but that’s nothing compared to the up-and-coming trends that will shape the web design industry in the coming year. Keep reading to find out which trends will shape B2B web design in 2018.
No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

579 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