The Bootstrap design isn't displaying correctly on larger screens

While building a website using Bootstrap, everything was going smoothly until I noticed some issues on wide monitors.

If you take a look at this page, you'll see different company logos arranged in 3 rows (5 on the first and second row, and 2 on the third row). However, if I maximize my browser window, things start to behave strangely. Do you have any suggestions for a simple fix?

Answer №1

It appears that the issue you are encountering is related to logos misaligning when displayed on a wider screen. To resolve this, consider eliminating the width:170px declaration within the specified section of your CSS code:

@media (min-width: 1200px)
.span2 {
width: 170px;
}

Answer №2

It seems like the issue lies in not specifying the span class or width on your parent divs.

One solution could be to add "span12" to your class:

<div class="row span12" align="center">
        <div class="span2 offset1" id="hankook" align="center"><img src="img/hankook_logo.png" alt="hankook tires"></div>
        <div class="span2" id="geotrac" align="center"><img src="img/geotrac_logo.png" alt="geo trac tires"></div>
        <div class="span2" id="nankang" align="center"><img src="img/nankang_logo.png" alt="nankang tires"></div>
        <div class="span2" id="geostar" align="center"><img src="img/geostar_logo.png" alt="geostar tires"></div>
        <div class="span2" id="milestar" align="center"><img src="img/milestar_logo.png" alt="milestar tires"></div>
    </div>

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the best way to activate a post function using a hyperlink?

I'm struggling to figure out how to call my post function using a link within my navbar. The issue is that I'm working with links in the navbar code, and not sure how to integrate calling the post function with them. Below is the code for my pos ...

Having trouble with Javascript functionality while testing wkhtmltopdf in the terminal

When using the PDF generator wkhtmltopdf (ver. 0.12.5), I am encountering an issue where it does not display any results with JavaScript. I have been attempting to get the PDF generator wkhtmltopdf to work on my Mac. It successfully renders the PDF with s ...

What could be causing the disappearance of my <Div> when applying a Class to the contained <span>?

My goal is to showcase a variable on my HTML page using CSS for a Graphical display in OBS streaming software. Whenever I apply the class .wrappers to the span id p1Name (and p2Name), the text disappears from the HTML output in OBS. I'm puzzled as to ...

Create a CSS image slider with a border around the images and two navigation buttons using z-index

I am looking to design an image slider with a border around the images and transitioning effects similar to the provided screenshot. Here is my HTML code: <div id="slideshow"><span class="control" id="leftControl" style="display: none;" ...

Disregard the stylesheet that has been provided

I'm currently working on a website using a template that includes a stylesheet. Unfortunately, the stylesheet is causing issues with elements I add such as Google Maps or other custom features on my site. Is there a way to prevent the following tag fr ...

Conceal default video player controls in Google Chrome

I have a dilemma with hiding the default play button in the center of my video. Even though I have a custom play button, the native play button is still showing underneath it on tablets and mobile devices. Unfortunately, I am unable to access the CSS for i ...

Struggling to effectively align the footer div in a responsive design

Check out this GitHub link to access the HTML file and CSS: https://github.com/xenophenes/pgopen-splash2016 I'm facing an issue with the footer text alignment. Despite my efforts, I can't seem to center it properly as it keeps appearing slightly ...

Mistake in labeling a checkboxgroup in ExtJs4.2 by wrapping a boxLabel incorrectly

I am encountering an issue where the box labels of the checkboxes are wrapping under the checkbox: http://jsfiddle.net/6pYWh/ { xtype: 'checkboxgroup', columns: 1, vertical: true, items: [ ...

Having trouble with showing dynamic data in column2 of my HTML layout, and the alignment doesn't look quite right in HTML

I'm working with this HTML file, attempting to create a two-column layout using HTML and CSS. I want one column to be labeled REQUEST and the other RESPONSE. When a value is entered in the text field in Column 1, it should display a response in Column ...

Preventing a webpage from responding to events by utilizing either CSS or jQuery

I apologize if the title is unclear, but I couldn't find the right words to phrase my question. On my website -- -- there is an alert box that appears onLoad. I need to convert it into a modal box so that when it appears, users are unable to use the ...

The webfont I designed is failing to display properly in all browsers

I need assistance with troubleshooting my code. I am experiencing issues with my custom font not displaying correctly on various browsers. Below is the CSS I am using: @font-face{ font-family: 'Guildford'; src: url('../fonts/guildford_pro_ ...

Issue encountered when utilizing html5/js Audio on Safari (Windows)

While working on my HTML5 game, I encountered an issue in Safari where I saw this error in the JavaScript console: "Result of expression 'Audio' [undefined] is not a constructor". To add sound to my game, I am using the following code: var audi ...

JavaScript code: Restricting spaces on all pages but one

I've been facing a challenge trying to restrict the space button from being pressed on all pages except for two where I have textareas. These two pages require spaces for users to enter their support ticket messages. Despite numerous attempts, I haven ...

How to Dynamically Adjust the Color of a KendoPanel During Execution

I am currently utilizing KendoPenel to showcase some information and I need to enlarge a specific panel and alter its color during the runtime if any issues are detected within the data. For expanding and selecting the panel, I have implemented the code b ...

Pressing a button will send a request to the server without the need to refresh the

On my web page, there is a button that triggers a Javascript function I created. This function populates and submits a form when the button is pressed. After the form submission, I want to change the value of the button from "disabled" to "enabled". My Pyt ...

Swift guide to adjusting font size within NSAttributedString, all while preserving HTML styling

My UITextView is displaying a formatted HTML string, but when I try to adjust the font size using Increase or Decrease buttons, the HTML style and font are lost. Is there a way to change the font size without losing the HTML formatting? import UIKit exte ...

Issue with the Styled Components Color Picker display

For the past 6 months, I have been using VSCode with React and Styled Components without any issues. However, recently I encountered a problem where the color picker would not show up when using CSS properties related to color. Usually, a quick reload or r ...

Broken image path in the Model-View-Controller framework

When using the jQuery DatePicker plugin in my MVC application, I face an issue with displaying a certain image for the Calendar pop-up. Here is the code snippet: $.datepicker.setDefaults({ showOn: "both", buttonImage: "../images/Calendar.png", ...

Using Javascript code to draw particles at the cursor's position and then directing those particles towards the bottom of

I found an interesting JavaScript code snippet that creates a bubble particles effect around the cursor. You can download it from https://github.com/tholman/90s-cursor-effects. However, I encountered a problem when adding certain elements inside a specifi ...

HTML div ID displaying incorrectly

My main div on the page has the attribute align="center", but it does not seem to align in the center. If you'd like to see the page for reference, click here. This is the CSS: #page{ background-color: #4C1B1B; width:85%; height:500px; ...