Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu covers part of page content. #15

Open
techgump opened this issue Jan 24, 2016 · 6 comments
Open

Menu covers part of page content. #15

techgump opened this issue Jan 24, 2016 · 6 comments

Comments

@techgump
Copy link

Absent an image loaded near the page head, the menu covers content like the breadcrumbs, top blocks, and/or page content itself, when viewed on smaller screens.
For example, a page like:
http://www.masterbootstrap.com/documentation
When on a Chromebook (1024 x 576), at 90%-150%, variable amounts of content are hidden under the menu when scrolled at top of page. That hidden content is never visible.

UPDATE: I've tested this on other computers, and in other browsers. It happens on all of them. Issue can be experienced by zooming in in any browser on devices where screen resolution large.
The padding-top for a middle sized screen is missing in css.

@gsuez
Copy link
Owner

gsuez commented Jan 26, 2016

Hi, I think that you can fix, adding media queries in css file.

@techgump
Copy link
Author

Sure. I've already fixed it. Just letting you know for a future update ;)

@gsuez
Copy link
Owner

gsuez commented Jan 26, 2016

ok, I will fix, thank you!

@gagnonjeanfrancois
Copy link

Hi,

I was going to report this bug, then I saw the report of @techgump ... So I confirm the issue :)

Thanks @gsuez for your template.

@gsuez
Copy link
Owner

gsuez commented Mar 31, 2016

Hi! next version - very soon - will be fixed. You have a Chromebook too?

@gagnonjeanfrancois
Copy link

I use Chrome, Firefox, and Edge and my width is around 1900px. Everithing look fine over when we are over 1200px. If I take http://www.masterbootstrap.com/documentation I get this :

under 480px
under480px

under 767px
under767px

over767px
over767px

under1200px
under1200px

For my logo : instead of 100% height and 80% width I also set the logo height to 80% otherwise my logo will shrink.

@media (max-width: 480px) { #brand, #brand img { width: 80% !important; height:80% !important; } }

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) { 
}
/* Landscape phones and down */
@media (max-width: 480px) {
    #brand, #brand img {
    width: 80% !important;
    height:80% !important;
}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    section {
    margin-top: auto;
    padding-top: 100px;
}

.navbar-nav > li > a {
    line-height: 30px !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}
}
/* Portrait tablet to landscape and desktop */
@media (max-width: 768px) { 
    section {
    margin-top: auto;
    padding-top: 130px;
    }
}
/* Large desktop */
@media (min-width: 993px) {
    section {
    margin-top: auto;
    padding-top: 160px;
}
}
@media (min-width: 768px) and (max-width: 992px) {
    section {
    margin-top: auto;
    padding-top: 240px;
}
}

My solution will work for our configuration, but if someone is using a larger logo he will get some trouble with the breadcrumbs, because the menu will break the line much quicker...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants