Super Simple Floating Button

December 4, 2018 (5 years ago)
General

Forget complicated plugins with tons of options you don’t need.
Easily create a floating button on your site with this simple CSS:

Then just add this anywhere on your page or template:

In this example, I used the class ‘button’ because the styling for that is already in my theme. You can remove that class and add the styles in the CSS above if you like.

This is my collection of WordPress, CSS, JS and PHP code

July 1, 2014 (10 years ago)
General

This is a personal collection of snippets I use on client sites. Some are original, some highly modified or cobbled together from other sources, and some copied (only from open sources such as this.)

I generally prefer not to use plugins for simple features and functions, especially if my clients don’t need options, which is quite often the case.

Free support for these snippets is probably not an option for your unique applications, due to my work load, but it never hurts to ask.

Copy, share and code on!