How to make footer stick to bottom in blogger? [closed] - html

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 3 years ago.
Improve this question
The footer in the main home page works fine: https://michaelarabic.blogspot.com/
It doesn't work when you're on a Page or a Post.
Page: https://michaelarabic.blogspot.com/p/home.html
Post: https://michaelarabic.blogspot.com/2019/03/test-2.html
This is one of the default blogger templates. I tried to figure out what's the <div> that is responsible for the footer.
Using inspect feature in Chrome, I can guess that they are the ones that have those classes: footer-outer and footer-fauxborder-left.
After figuring out the possible or the potential class names. I used the method in this question: Make footer stick to bottom of page correctly
There was some changes in the footer but that's not what I wanted. It became very thin and it doesn't respond to changing the height. I faced some issues while trying different solutions from other websites.
If it's hard or impossible to stick the footer to the bottom. At least, I need a method to hide it.

This is very simple,
just fix the
position of your footer content to fixed
,it will ready your content to fix to a point, now the browser looks for the position where it need to be fixed so just pass
bottom:0;
now in your case the content is not containing the full width so to recover that we need to provide a
width to 100%
so your final code looks something like this.
footer{
position: fixed;
width: 100%;
bottom: 0;
}

Related

Reduce width and show scrollbar [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 6 months ago.
Improve this question
Please see this page: you can see the same code snippet twice: once embedded via GitHub Gist and in the second part via Jekyll's internal syntax highlighter Rouge.
I'm trying to style the second code snippet similar to the GitHub Gist. I'm making progress, but I don't know how to reduce the width of the second code snippet via CSS. It should have the same width as the surrounding blog content (like the GitHub Gist) and show a horizontal scroll bar.
How can I reduce the width of the code snippet via CSS and display a horizontal scroll bar?
Thx!
You can set the width to 100% to fill the surrounding blog content and use the overflow-x property to display a horizontal scroll bar.
.highlight {
width: 100%;
overflow-x: scroll;
}
You can use overflow-x: auto; instead of overflow-x: scroll; to let the browser decide when to display a horizontal scrollbar, e.g. when content is overflowing.

Part of the body going off-screen [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 11 months ago.
Improve this question
I've been working upon a Personal Portfolio for a few days now. I originally made it for my freeCodeCamp certification. But, now I wish to expand it however I've been facing a strange issue with the page where part of the body goes off-screen. I've tried resizing and removing the height of various elements and changed their display and position properties. But it's not working. I mean, it's not the biggest problem since all text and images are visible but still it's annoying.
I've hosted it through Github Pages here is the link:
brainstormed.github.io
It would be of great help if someone could point out what I'm doing wrong.
Thanks!!
The fixed padding of 40px on projectTile CSS class is causing the issue. On small screens the horizontal space is already filled by the image width: 80vw; padding: 10px; margin: 20px. You can either remove that padding or use a media query to remove it on small screen sizes.

footer at bottom of page [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
I've looked everywhere and I've tried almost everything and I can't seem to understand why my work is messing up. I even asked my ict teacher for help but I didn't want to tell him that it didn't show up since he spent ages on it.
Anyways, uh quite frustrated since everything is going wrong. I just want my footer to be at the bottom of the page and for me to write on the page without it going into the header.
coding for website: https://gist.github.com/JazmineCz/12884de1cf76ce72f3265b83c13aab76
The <footer> just act as a <div> and don't have some special property to get at the bottom of the page.
Your page don't have that much content so that the footer get to the bottom, What I mean is footer is at correct place at the end of page as your page is ending there
One thing you can do is fill up the page.
another was to move it to bottom are using css.
2 things you can do either give the article section a height:100vh this will make the Article section a vertical page long, or *make the footer's postion:fixed and then set bottom:0 this will fix the position of footer and it will be not move even you scroll
You need to give height to your section. For example;
section {
height: 500px;
}
Your footer is in the bottom actually. Since you don't have enough content between, it doesn't have a place at the bottom.

Prevent Footer content from moving when browser window resized [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've looked at many a thread and understand the width and display tags ( min, max, block inline, inline-block and table etc), but I'm having a terrible time trying to fix this issue with my page footer. When I resize the browser window, everything in the footer collapses.
Can someone kindly check my markup and let me know what I need to add in my CSS to fix this, please.
Basically I'd like the browser window to pass over the content and all that contained be fixed centrally... how it looks, laid out, when window full-size.
Thanks!
Site: http://mixititb.com/Z_Test_Site/index.html
Edit;
Two issues I'm seeing are when you change window size, the footer itself is collapsing and perhaps making the content bunch up. So, that would be first priority fix and then aligning the content center.
For these two issues, I'm really stuck and truly appreciate the help for a newbie to get this fixed. Thanks for checking my code!
Edit 2;
Just fixed the footer sizing with overflow-x: hidden; for the fix_footer class! :)
So, now we/I just have to figure out why the content is collapsing when you resize the window. Any takers? :) :)
Edit 3;
# PeeHaa, easwee, mario, user35443, Starkeen... please kindly take this off hold, I'm unsure how to edit the question as I've fixed some issues myself and too with help from those below, but a few remain, so didn't want to ask another question. Thanks, appreciated!
Edit 4;
Fixed through reorganising HTML structuring div's with classes and setting .container to white instead of the footer itself. Setting all main div's (i.e. nav, content and footer) with a class of container allowed fixed scaling of the footer as it was taking the width set in CSS.
Thanks everyone for the help!
Search media queries on google and center the elements with text-align: center or margin: 0 auto, if the elem are floated, use clearfix.
Your footer breaks at about 900px.
Example:
#media screen and (max-width: 900px) {
center your elem
}

Nav bar dropping below background image? [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 8 years ago.
Improve this question
I have just started creating my site and getting into web development. I was creating a social media nav bar . i wanted to place it in the bottom right side of all my pages. It worked fine except for one which showed the nav bar way below the end of my background image. After several attempts to fix it several other pages also started having the same issue.
leloupdevelopment.com
Give this bit in your CSS:
#social-media-icons {
margin: 0;
position: fixed;
bottom: 0;
right: 0;
z-index: 99;
}
This way, it always stays in the bottom of the screen, irrespective of the page size. :)
You should change the z-index but to use that you need to position it to either absolute or relative depending on your element. The higher z-index means your element is going to be on top of the lowest z-index.