Why is the navigation and top section of my site pushed to the right on tablets?

alexchenco

enter image description here

enter image description here

As you can see, the background of the top section and the navigation is being pushed to the left on tablets. What could be the problem?

CSS:

#header {
  background: #FFF;
  height: 69px;
  overflow: visible;
  border-bottom: 1px solid #ccc;
  padding-top: 29px;
  -webkit-box-shadow: rgba(0,0,0,0.2) 0 0 8px;
  -moz-box-shadow: rgba(0,0,0,0.2) 0 0 8px;
  box-shadow: rgba(0,0,0,0.2) 0 0 8px;
  z-index: 9999;
}

.section-gray {
  background: #f7f7f7;
  padding: 20px 0;
  position: relative;
}

META:

<meta name="viewport" content="width=device-width">

Live site: http://www.m2comm-semi.com/

Alex

You should improve your style for smaller devices but for solving this problem you can add this in your style.

#signage .container > img {
    margin: 20px 0 0;
    // Add max-width
    max-width: 100%;
}

@media screen and (max-width: 960px) {
  .container {
    width: 100%;
  }

  #header
  {
    height:auto;
  }
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Why is my unordered list getting pushed to the right side?

Why isn't my section siding up to the right properly?

Why is my padding right and bottom only changing but not my top and left?

Why isn't my site displaying the side navigation?

Fixed position causes my header to be pushed to the right

animated navigation background at top of site

Why is there a "plus" icon at the top right corner of my view?

Make navigation bar on the top right

Badge on top of right navigation button

How do I get my navigation bar to go across the entire page? Right now its in the top right corner

Why unwanted data is pushed in my array?

Why is my script pushed in a iframe is executed in the parent?

Why is my object not being pushed into a different array?

React Native - navigation on top right header button

why navigation bar is not going on the top?

Why is the navigation bar not on top of the website?

Bring my right sidebar to the top of my page

Navigation Bar Navigation Items causing top area of buttons on pushed view controller to not be tappable

how to remove extra spacing on top of my section

Why left and right margins don't change in the top of my e-mail's HTML?

Why is the section of my view disappears?

Why do I go to the top of the page when I open my fixed navigation menu?

Android bottom navigation bar and tablets

How to place a dropdown at the top most right section of a video in Bootstrap 4?

flutter Problem : How to make Upcoming section in Top Right in card

DropBox icon not appearing in AppIndicator section top right in GNOME 3.16

How to create a navigation section that falls from top to bottom?

cant get my navigation to work right

ToggleButton pushed out to the right