Responsive Web Design

Supporting A Mobile-First Strategy

joe.price's picture

According to Google data, smartphones have reached mature adoption rates (above 50%) in 19 countries in 2013. This is up from 6 countries in 2012. From 2012 to 2013, smartphone penetration increased by an astounding 17.75 percentage points on average.

Responsive Web Design (RWD) is here to stay. Right now around 11 or 12% of the top 100,000 sites are responsive, and no doubt that number is slated to rise over the next few years. Global Mobile vs. Desktop Internet User Projection

Tags: 

Responsive Google AdSense Ads

joe.price's picture

In Drupal, the AdSense module provides a way to easily implement Google AdSense Managed Ads on your site. The problem is, the ad size is fixed in the module generated blocks. For a responsive site, this can be a real problem -- a 728x90 Leaderboard ad isn't going to display properly on a 320px smartphone. After testing a few other alternatives, a really flexible solution is a custom block.

In essence, the code checks at page load to see:

Tags: 

Subscribe to RSS - Responsive Web Design