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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

685 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