
In 2015, Google started giving more preference to responsive and mobile-friendly websites.

Sure, responsiveness is an important aspect of conversion and is the first step in the website development but it alone cannot increase your CTR. But converting a mobile web page is a much more complex process than just making your website responsive or mobile-friendly.

Responsiveness and Conversion RatesĪ lot of the people take the responsiveness and conversion rates as a cause and solution pair in the website world.
#RESPONSIVE LAYOUT QUICKSPROUT HOW TO#
If you are still backing on the desktop website with a bunch of media queries and letting luck shape your revenue, I will help you decode the importance of responsive design and how to make a high converting mobile web pages. It is now time that website owners understand that mobile users are top priority and should be taken seriously. As a website owner whose website is not mobile-friendly, this is a matter of great concern and something to help shape our website in the correct direction. Out of this, mobile internet traffic has been more than half of all the internet traffic all around the world. This number has gone up by 7.3 per cent since last year. The demand for smartphones and other mobile devices have been responsible for connecting 4.66 billion people with the internet. These figures, as surprising as they are, make us think about the impact on mobile websites and website owners. In the third quarter of 2020, Apple alone shipped 13.9 million units of tablets. Such impressive figures continue when we look at the world’s tablet shipments and deliveries.
#RESPONSIVE LAYOUT QUICKSPROUT CODE#
If you want a more precise opinion, please post some code and I'd be happy to give you my thoughts.In 2020, smartphone sales were 1.57 billion units worldwide, an increase from 1.52 billion units in 2019. This eliminates the multiple class problem that you have and cleans up your code. Because in principle only one sheet will be applied depending on the viewing context, your styles will always be appropriate for the viewing context. If you name a class after it's function (like mainContentGrid, then you can redefine the class as many times as you like in all your different media stylesheets. Herein lies the benefit of naming classes after function. you will want to make use of the media attribute (or the declaration) which will allow you to apply class definitions only to devices and screens meeting certain criteria. for example navigationContainer is a better name than leftContainer, as navigationContainer can exist anywhere on the page.Īs far as adapting for different layouts, screen sizes and orientations etc. More concretely, do something like or and then set the width for each breakpoint yourself in your custom CSS.įirst of all it is better to name a class after its function rather than its physical appearance. In those cases, going semantic is a better approach. However, this still may lead to stuff like in some cases.

You can use classes like 'mobile-width-3of16', 'phone-width-3of7' or 'tablet-width-2of4' to customize the layout for different width ranges and the classes 'desktop-hidden', 'mobile-hidden', 'phone-hidden' or 'tablet-hidden' to hide content for a specific screen with range.

If your build includes the responsiveness module (which is the case for the recommended builds), the width of all grid elements automatic resets to 100% on mobile. Or, you could just define your own classes and IDs and just add a custom width for those classes to do things the 'semantic' way. More concretely, here are some examples of valid classes you can use in Cascade Framework : 'width-1of2' (width : 50%), 'width-3of4' (width : 25%), 'width-2of5' (width : 40%), 'width-2of5' (width : 40%), 'width-2of7' (width:28.5714286%) and 'width-13of16' (width:81.25%)Īdditional to these classes, you can also use the classes 'width-fit' and 'width-fill' that respectively fit to content and fill whatever remains of your 100% width. To add a width to a grid element, you add a class of the format 'width-XofY', where Y can be 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16 or 24 and X can be any value lower than X. One of the following HTML elements : section, main, article, header, footer, aside or nav (these elements are polyfilled with the HTMLshiv for old IE in case you need it).Ī div element with a 'col' class (can be used in old IE without a polyfill). A grid element in Cascade framework is either
