Skip to content
Home Blog Web Design Responsive Design: Tips and Tricks

Responsive Design: Tips and Tricks

  • Web Design
Blueprint Digital
Blueprint Digital

Last week, I wrote about the basics on responsive design. The topic of responsive design is a relatively new one that started with the emergence of different mobile devices. Developing for mobile devices could be hard because of all the factors to consider, such as handling clickable phone numbers. Today I will share some tips and tricks to make the responsive web development process a bit easier.

Applying Media Queries

I mentioned one way of including media queries in my last post:

<link rel="stylesheet" type="text/css"
media="screen and (max-device-width: 600px)" href="mobile.css" />

Another way of including media queries is to put the CSS as part of another stylesheet, like this:

@media screen and (max-device-width: 600px) {
   .container { width: 100%; }
   .footer { display: none; }
}

In the above case, the width of the container will be 100% and the footer will disappear when people view the site using a device smaller than 600px.

Meta Viewport Tag

Sometimes, you may be working on a responsive design and find that the website you have been working does not show up correctly on a mobile device as you intended. Is the full website being shown on the mobile browser? If so, you may have forgotten to add this meta tag.

<meta name="viewport"
content="width=device-width,initial-scale=1.0,maximum-scale=1.0" />

The above meta tag will ensure three things. First, it will make sure that the width of the website is the device width. Second, the meta tag will ensure that the initial scale of the website will be 1, meaning it will not be zoomed in or out and shown at its original size defined by CSS. Lastly, the meta tag will prevent the user from zooming in or out. One thing to remember is: Make sure your website is accessible without the need for zooming in or out. For example, if you make the font-size too small, users will not be able to zoom in to make it easier to read.

Additional Tips on Responsive Design

  1. Start from mobile design first, if possible. Sometimes it is not possible. Perhaps you want to implement responsive design techniques to an existing fixed-width website that was optimized for the desktop. However, starting from mobile design first will make sure that the design translates well into desktop. It is usually easier to add elements than to subtract them.
  2. Remember that the devices have fixed widths. Maybe the responsive design you have been optimizing for the iPhone does not look good at 437px width when you resize your browser. However, the viewport sizes for the iPhone are 320px (portrait) and 480px (landscape). If you have included the meta tag above, users will not be able to zoom in or out and will see the website at those two dimensions.

Responsive design is a relatively new topic, but people are increasingly using their mobile device to browser the web. It is important to cater to mobile devices to help prevent the loss of traffic to your website.

Ready to Dominate Online and Grow Your Business?

Schedule time to connect with Blueprint about your online goals, or request a free review of marketing campaigns.

Related Posts

Is Lead Generation Worth It for B2B Companies?

Is Lead Generation Worth It for B2B Companies?

Qualified leads are the foundation of B2B revenue, but the cost to generate them keeps climbing. Search competition is stiffer, buyer attention is shorter, and more companies are chasing the same decision-makers. When marketing spend rises and pipeline stays unpredictable, the question of whether lead generation is worth it becomes harder to ignore. For companies[...]
Local SEO for Doctors: Get Found by New Patients

Local SEO for Doctors: Get Found by New Patients

When someone needs a new physician, the search usually starts the same way: a quick lookup for a doctor "near me," followed by a glance at the map, the star ratings, and whoever shows up first. Most of those clicks go to the three practices Google features in the map at the top of the[...]
Digital Marketing for Doctors: Grow Your Practice

Digital Marketing for Doctors: Grow Your Practice

Before a patient ever calls your office, they have usually already searched your name, read a few reviews, compared you to two other practices, and looked at your website on their phone. By the time the phone rings, much of the decision is made. Digital marketing for doctors is the work of being present and[...]
Previous
Next

Partner with BLUEPRINT to reach your online goals, grow your business and reshape your story.

Get in touch with BLUEPRINT

Reach out to request a discovery call, a free campaign review, or for all other inquiries.

Subscribe to our newsletter