Source: clouds
Category: Uncategorized
Smoother rendering of fonts in Chrome
If your web font is not rendered nicely on Chrome, try this:
SOURCE: http://www.fontspring.com/blog/smoother-rendering-in-chrome-update
The Issue:
Some websites may experience intermittent spacing issues when rendering the svg. If you call the svg with a media query specific to Chrome, the spacing issues disappear. See the example below.
Roots 101 – Notes, tips, and more
1. The Theme Wrapper
http://roots.io/an-introduction-to-the-roots-theme-wrapper/
The goal of a theme wrapper [3] is to remove any repeated markup from individual templates and put it into a single file. This file, base.php
becomes the single, unambiguous, authoritative representation of knowledge (i.e. the base format code).
You never need to make calls to get_header()
, get_footer()
or get_sidebar()
again. You can also refactor the base format of your site by editing base.php
. Read More
Starting a new WP project with WP-Skeleton
Install using Mark Jaquith’s method. This involves
- Handling differing database connection details
- Handling plugins that can’t or shouldn’t run on a localhost
Create a local subdirectory. Then clone Mark Jaquith’s wp-skeleton into a new directory www. Or, if you already did the steps below, clone it directly from your own fork.
Note: use recursive cloning otherwise the submodule will not be cloned:
Read More