CSS styling can get very specific and you can target less classes and IDs in the HTML markup, and instead target cascading HTML elements – here we take a look at the various CSS Selectors, and give some simple examples of how the selector is written and what it targets. Descendant Selector The descendant selector …
Read More
Upgrading to Ruby 2 on OSX 10.8 Mountain Lion
An older version of Ruby ships with OSX by default, the version is 1.8.7 which is now officially retired by its developers. To upgrade to the latest stable version of Ruby, you going to need Xcode and Homebrew installed first, Xcode does the heavy lifting for compiling programs and Homebrew works as the package manager …
Read More
HTML 5 Video Formats, Browsers, Flash Fallback and Solutions
HTML 5 video is the here and now of online video and is the default of how video is delivered via the web, but is currently not supported on older browsers in, particular version Internet Explorer 8 and earlier, you still have to provide an alternative format for those older browsers and undoubtedly that will …
Read More
How to Create Custom WordPress Template Posts, Pages, Headers, Footers and Sidebars
How to create new WordPress templates for your theme including posts, pages, headers, footers and sidebars. To change the WordPress home page edit the index.php in the main theme if using a child theme, just copy and then edit the file in your child theme folder alternatively you can create/edit front-page.php – this will take priority over the index.php To make a …
Read More
Making Full Width Headers and Footers in WordPress Twenty Twelve Theme
How to create a full width header and footer in WordPress’s responsive Twenty Twelve theme. Example Site. Create a Child Theme First up you should really create and work from a Child Theme Make Header and Footer Copies to Child Theme Copy your header.php and footer.php files from twentytwelve to your twentytwelvechild theme folder. Your …
Read More
How to create a Child Theme in WordPress 3
A Child Theme in WordPress is a theme that takes all the juice out of its parent without doing much itself, pretty much like regular kids. This guide explains what a Child Theme is and how to create one for the latest version of WordPress 3.6. The core benefit of a child theme is that …
Read More
Restarting Apache Web Server from the command line
To restart, start or stop Apache web server from the command line interface using either Linux or Mac OSX, use the commands below, these commands should be executed as the root user otherwise prefix them with ‘sudo‘
How to find out which WordPress template is being used in a Theme
How do you quickly find out which template in your WordPress theme is being used without systematically going through each template? WordPress uses a structure of templates formed in a hierarchy of importance, when one isn’t there it falls back to the next in the chain. Click for a closer look If you want to …
Read More