by Justin Bennett | Apr 25, 2017 | CSS, HTML5
One of the hurdles I faced when beginning to work with responsive designs was the lack of an obvious way to assign an aspect ratio to a container in CSS. This kind of thing can be handled with an image placeholder or Javascript, but neither is an elegant solution....
by Justin Bennett | Feb 4, 2017 | CSS, Design
Sometimes there are things you want to do in your layouts with CSS (Cascading Style Sheets) that you assume would be easy, but as you dive into the coding, it turns out what you thought should work just isn’t cutting it. Equally spacing elements across a...
by Justin Bennett | Jun 3, 2016 | CSS, Design, PHP, Wordpress
Often a design calls for styling that makes an article archive (or any list of custom post types) easier to visually navigate. This can be as simple as altering the background color of every other post or something more involved depending on the situation at hand, but...
by Justin Bennett | Sep 26, 2013 | PHP, Wordpress
WordPress gives us an easy built in way to hide certain posts or pages from non logged-in users, by simply marking the post status as private or password protected. When we do this, the title of the post or page will automatically be prefixed with...
by Justin Bennett | Aug 25, 2013 | PHP, Youtube
Embedding videos from Youtube into a website is a rather painless procedure. Each video is provided with sharing options that include a bit of html code that will get the job done, and with WordPress it’s even easier. All you need is the video URL and the oEmbed...