Um einen Sticky Footer in WordPress oder auch überall anders zu erstellen muss man folgenden CSS-Code zu seiner Seite hinzufügen:
body{
margin-bottom: 2.5%;
}
footer{
position: fixed;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
}
Der Fußbereich muss dazu in <footer></footer> HTML-Tags. Und der CSS-Code muss entweder in deine style.css oder in <style></style> Tags. Wie du deine style.css Datei anlegen kannst erfährst du hier.
Ohne CSS-Code:
Mit CSS-Code:
Durch den CSS-Code wird der Fußbereich unten an die Seite „geklebt“. Auch wenn man eine Seite hat auf welcher der Inhalt größer als eine Bildschirmseite ist wird der Fußbereich immer ganz unten am Bildschirmrand angezeigt.
Seite mit viel Inhalt ohne CSS-Code:
Seite mit viel Inhalt mit CSS-Code:
Ich hoffe, dass ich dir helfen konnte. Weiterhin viel Spaß beim Coden 😉
you’re in point of fact a just right webmaster. The website
loading velocity is amazing. It kind of feels that you’re doing any unique trick.
In addition, The contents are masterwork.
you’ve performed a excellent activity on this topic!
I am glad to be a visitant of this utter weblog, appreciate it for this rare info!
Fantastic post however , I was wanting to know if you could write a litte more on this subject?
I’d be very thankful if you could elaborate
a little bit more. Thank you!
Wonderful blog! I found it while browsing on Yahoo News.
Do you have any suggestions on how to get listed in Yahoo
News? I’ve been trying for a while but I never seem to get there!
Cheers
Hi there! I understand this is kind of off-topic however I had to ask.
Does operating a well-established website like yours take a
lot of work? I am completely new to running a blog but I do write
in my diary daily. I’d like to start a blog so I can share my experience and thoughts online.
Please let me know if you have any kind of recommendations or tips for new aspiring bloggers.
Appreciate it!
Hi, I’m just writing about problems I solved and yes that’s it. Just write about what you want 😀
Fantastic beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog web site?
The account helped me a applicable deal. I had been a little bit acquainted
of this your broadcast provided shiny transparent idea
Great post. I was checking continuously this weblog and
I’m inspired! Extremely useful info specifically the
final phase 🙂 I care for such info a lot. I was seeking this certain info for a
long time. Thank you and best of luck.
Awesome article.
This text is worth everyone’s attention. Where can I find out more?
Hello! I’m at work surfing around your blog from my new iphone!
Just wanted to say I love reading your blog and look
forward to all your posts! Keep up the great work!