Posted in webdev
7155
3:43 am, June 6, 2020
 

fixing the website footer and making it less ugly

Here i show you in a couple of steps how to make the footer on this site look nicer, while actually doing it.

Here is what the footer currently looks like.

Yep pretty average looking.

Lets add a wrapper to it, that covers the full width of the page. 

This is the section of code that the footer sits in, we need to cover this in another container that will span full width so we can add a background colour to it.

Then add some css to make it darker and the colours lighter.

This css will add a background to the footer and some padding on the top and bottom.

This is how it should look now.

Then change the link color to #eee as well and see how it looks.

Not amazing, but better.

View Statistics
This Week
239
This Month
930
This Year
2178

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote


minecraft
Random CSS Property

scroll-padding-left

The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scroll-padding-left css reference