Footer not displayed properly on mobile browsers [closed] - css

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I'm working on my portfolio website, and ran into a problem when viewing it on a mobile browser. Here is the website: http://attilakomaromi.ca/so_question/
If you scroll down, you'll notice that the footer is revealed. Chrome's mobile emulators also display the footer properly. However, when viewing the webpage on an actual smartphone, the footer can be scrolled to, but the page will snap back up the hide it once you remove your finger from the screen (please take a look at the above link on your phones to understand this problem).
Here is the repository on GitHub for my website, if you need to take a closer look at the code: https://github.com/Twinbird24/portfolio-website

Add this css and then try
#media (max-width: 480px) {
footer {
position: static;
}
}

Related

Overflow-y not working with wrapper mobile [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
On the mobile version of the website, you can scroll to the right to the navigation, which should actually only be accessible via click. How can this be changed?
(URL removed)
I have already tried many different solutions that I have found, but nothing works so far.
I am looking for help in this individual case.
Thank you very much :)
By moving your .main-nav element with transform to the right you extend width of the visible content, and since your scroll properties are default it will enable you to scroll the entire visible content, including that menu.
What you want to do is clip everything that is outside of your html or body element.
CSS
html {
overflow-x: hidden;
}

How do I get this to achieve the same padding? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
To start, please visit my website to show you what I mean: https://www.--
The content resizes as I want it to do, when going from desktop to mobile. But when on mobile, the recent slideshow (North Face article) I added doesn't have padding from the header-title, like all the other images do. How do I solve this?
The problem you have here is that all yout other images are inside a <p> tag that have margin-top and margin-bottom.
Your last post image is not inside a <p> tag so there is not the space with the post title in mobile.
You can add the margin-top to your last post slider only on mobile with media query.
#media screen and (max-width:480px){
#metaslider_container_506{
margin-top:10px;
}
}
Be careful when you will add an other post with a slider, the problem will come back, maybe you can add the margin to a class that will be on all the sliders, maybe on :
#media screen and (max-width:480px){
.metaslider .flexslider{
margin-top:10px;
}
}
Like so, the problem will not come back with other post that have slider.
Just add a margin-top value to metaslider_container_506 like this:
<div id="metaslider_container_506" style="margin-top:10px;">

Why don't my grid columns layout correctly in Firefox? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
so on this website http://kimandydev.com/
the spacing is weird on only the 4th row.
Everything is gridded out perfectly on Chrome and Safari, but on in Firefox.
I used Advanced Custom Fields to feed the content just FYI.
Can someone inspect it on firefox and somehow figure out what is causing it?
Thank you
The problem is that some of your images aren't the same aspect ratio, and Firefox considers the partial-pixel height difference when it lays out the floats, so they don't clear.
Be sure that all your images are exactly 1000x1500.
You could also force image sizes at each breakpoint using media queries:
#media (min-width: 940px) { /* or whatever it is */
.front-img {
height: 330px;
}
}

Mobile page being cut off at the top [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I created and hosted a Jekyll website on github-pages using the HTML5 UP Alpha Theme found on "html5up.net/alpha"
For some reason, pages are being cut off at the top on mobile only. I've gone through the mobile css but I have been unable to locate any issues.
The site mobile css can be viewed here:
http://pastebin.com/jwNwpXyF
And a screenshot of the problem can be seen here:
http://imgur.com/ZPycfNH
Your background image of banner is getting smaller for mob device to maintain the ratio, because of which the #main is cutting from top as it has margin-top:-26em for desktop, the same applies on mob too.
To fix it you have to change the margin for mob devices. Try below css.
#media (max-width: 640px) {
body #main {
margin-top: -8em;
}
}

Div not showing up in responsive layout [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have a responsive wordpress website which shows nicely on desktops. But somehow the whole layout is broken on smaller screens and the products div on homepage doesn't even display up there. .featured_products is the ul which you see on home page but it disappears as soon you resize your browser to smaller mobile size.
Here is my website.
It is because of a media queries in your stylesheet which starts at line 5811 in style.css
#media only screen and (max-width: 479px)
And then this part in the media query which starts at line 6149 in style.css
#subcontent2 {
display: none;
}
please change the code
#subcontent2{
display:none;
}
and also check this jsfiidle for your solution
http://jsfiddle.net/wpEwZ/

Resources