Honey Bee Hive logo

Honey Bee Hive

A web design & development blog

Days of the week image

How to make dates show for every post on WordPress

While developing the theme for this blog, I knew I wanted the date, author and category (or categories) to appear on each post. The author and categories were no problem, however, the date was giving me trouble. Inside of my php I was using the_date() function to get the date of the post, or so […]

Read More

Foundation max-width image

A simple note on the max-width of Foundation

  • April 9, 2015
  • By Melissa Pilkey
  • Code

In creating the theme for this blog, I used the grid system from Zurb’s Foundation: A responsive front-end framework. In doing so, I realized that the max-width of the rows that it creates is about 1000px. That can be a bit small, considering most monitors today can accommodate widths much larger than 1000px. While I […]

Read More

REM graphic

It’s all about that ‘base’ : An easier way to use REMs

  • March 19, 2015
  • By Melissa Pilkey
  • Code

What is a REM? REM stands for “Root EM” and is based on the default font-size of the HTML element, not on the parent, like EM. For example, the default font-size on the HTML element is 16px. So if you wanted your h2 element to be 32px, you would instead declare the font-size to be […]

Read More

Code naming conventions

Clearer code with naming conventions and namespaces

  • March 19, 2015
  • By Melissa Pilkey
  • Code

I recently read an article on CSSwizardry.com about making your code more transparent (or easy to understand and edit) by using proper naming conventions and namespaces. When CSS is applied to various elements in your HTML, each class that is applied differs in its intent on that element. A naming convention offers a way to […]

Read More