need help finishing up my first bootstrap page

Posted on 2014-11-29
Last Modified: 2014-12-03
I'm trying to put the finishing touches on my first Bootstrap page, and am running into a few issues I'm having problems with. The page can be found here, and my issues listed below. Thanks in advance for any help!

1) my logo. I want to push the logo over to the left some, about 35px off of the edge of the screen. No matter what I do, it won't budge.

2) When I view the page on my monitor, there is no horizontal scroll bar, but when I view the page on my laptop, I get one. I thought because I was using the grid system, this wouldn't occur. was I wrong to assume this?

3) I'm trying to push the text in my footer over to the left, but again, I can't seem to do so, no matter what I try

4) I notice in Chrome, it keeps loading and loading, even when the page is complete. I didn't see anything in the developer console, is there another tool I can use to track this down?
Question by:Big Monty
  • 5
  • 3
LVL 17

Expert Comment

ID: 40472195
First off I do believe

<img src="img/logo.png" class="pull-left brand">  

Open in new window

Can be removed that may solve some issues with placement of the logo.
That logo is controled by the .css file.....
Thats why u can not move it.

Another suggestion is downsize that logo
as it is.
1,784px × 1,769px  @ 156kb.
Not a real huge issue just optimization.
Rename it with a unique name like your sites name-logo.

Look deeper into the included .css files they are the property specifiers for most of the site.  


with "css/bootstrap.min.css"
file so you can read the css file.

bootstrap.min.cssWith this one.

LVL 33

Author Comment

by:Big Monty
ID: 40472556
the css on the logo controls the size, as well as the placement on smaller screens, as explained here (sorry, should have included that originally). it's that size right now until I can get a smaller one from my designer. I want to add some css to push it over to the left on page load

I plan on mini-fying the css file once the design is further along, right now it's easier to dig through the file. that shouldn't be causing the incessant loading of the page though.

any other suggestions out there? :)
LVL 58

Assisted Solution

Gary earned 500 total points
ID: 40472595
If you are using Bootstrap then you should stay within it's constraints else you are just creating problems.

xtLogo img {

2: You have a class in content-section-a ...
col-lg-12 col-lg-offset-6 col-md-8 col-md-offset-4

lg-12 with an offset of 6 is going to push the content off the screen on larger displays

footer ul {
    margin-left: -30px !important;

4. The only thing for the slow loading I see is the 4MB coffee beans image
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

LVL 33

Author Comment

by:Big Monty
ID: 40474416
thx Gary, I'll have a go tonight with these and report back here
LVL 33

Author Comment

by:Big Monty
ID: 40475099
I tried your suggestions for #1 and #3 and it doesn't left align. The only time I can left align something on the page is when i do something like the code below outside of a container, which kind of defeats the whole purpose of using BS:

<div style="float:left;">text</div>

for #2 I got rid of the scrollbar by mimicking the column structure of the row above, that way I could have my signup form off centered a bit:

<div class="row">

    <div class="col-sm-3"></div>

    <div class="col-sm-9">
        <div class="signup text-center">
            <form id="signup-form" name="signup-form" method="post" action="signup.asp">
                <label for="email">EMAIL</label>
                <input name="txtEmail" type="text" class="textFields" id="email">
                <label for="zip">ZIP</label>
                <input name="txtZip" type="text" class="textFields" id="zip"><br /><br />
                <input type="submit" name="submit" id="submit" value="Create a Profile" class="blueButton">
            <br />
            <p class="fineprint">*We respect your privacy and will not spam or share your email address with third parties.</p>

Open in new window

I'm really confused on why I'm unable to left align anything on my page. I changed all of my columns to be col-sm-xxx, as it's my understanding if the smaller column class is specified, it should work on larger devices. is that assumption correct?

When i look at the page in chrome dev tools and highlight the row html, the highlighted section on the page is not 100% wide, it actually looks like there are 33% margins on both the left and right side, any idea why that's the case?
LVL 58

Expert Comment

ID: 40475159
1 and 3 are doing what you asked for - everything is already left aligned to start with, Bootstrap doesn't change it.

looks like there are 33% margins
Don't know what you mean, in default layout Bootstrap isn't 100% wide, it has defined breakpoints.
If you want it 100% wide then you use container-fluid instead of container
LVL 33

Author Comment

by:Big Monty
ID: 40475778
on larger displays, it was showing ~33% margins, check out my screen shot.

i thought the breakpoints were 15px for each margin?

looks like container-fluid might do the trick, I'm going to play around with it. I'm wondering why the margins are pushed so far in for larger displays though (for my own curiosity)...
LVL 58

Accepted Solution

Gary earned 500 total points
ID: 40476085
Check my article for the fixed dimensions of BS
The maximum width is 1170px
LVL 33

Author Closing Comment

by:Big Monty
ID: 40479496
thanks for the help, didn't know there was a max width, which explains the way it looks on my larger display. not going to worry about larger displays for now

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ajaxSubmit is giving me an error 1 36
Two wordpress questions 3 43
Scroll 5 news at a time. 4 25
css selector 1 16
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

786 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