css

WordPress, technology, and miscellaneous thoughts.

Communities Design Development Kate's Updates Non-Technical Search Engine Optimization Social Media Webdev 101 WordPress Workflow

Releasing Functions and Shortcodes mu-plugin for WordPress Developers

So I am releasing a plugin for WordPress. It’s pretty simple and contains helpers, functions, and shortcodes I typically use in WordPress installations. Some useful stuff like phone numbers (which can change, and are a total pain in the butt when they do change). It’s honestly just been very helpful for me to be able to quickly clone this into my WordPress installs, so I figured if it helps someone else… why not. Download Plugin Why mu-plugin I figure a downloadable mu-plugin is probably better than something I put in the WordPress plugin repository itself — at least until I […]

Read More

Fixed Position Click-to-Call Mobile Phone Number Code

The code here helps you show, for your mobile website only, a mobile phone number stuck at the top of the site, following the user as they scroll down the page. The HTML <span class=”desktop-phone”>(555) 555-5555</span> <a id=”floating-mobile-phone” href=”tel:+15555555555″>(555) 555-5555</a> The CSS /* ======================== mobile phone ======================== */ a#floating-mobile-phone { display:none; } @media only screen and (max-width:600px) { a#floating-mobile-phone { /*theming-related: colors, fonts, sizing, etc. edit at will*/ background-color:#558a93; color:#fff; text-align:center; font-size:18px; /*positioning-related: don’t edit unless you’re css-confident*/ display:block; position:fixed; top:0; left:0; width:100%; z-index:9999; } }

Read More

Neat Things Since July

CSS Guidelines !# for removing scroll-to-top on empty anchor link Photoshop Layer Filtering A few things I’ve done since July

Read More