Responsive design rules

Responsive design rules are mobile rules based on media queries that you can apply on page or template level. You define the device types and characteristics to which the rules are applied with the help of predefined media query group of rules for the most popular smart phones and tablets. Once the device requirements are met, you define how to display pages on these devices. You do this by choosing one of the following options:

  • Layout transformations
    You choose a CSS file to be applied to optimize the layout of the page for different screen sizes or simply modify the transformation of the default layouts.
  • Open a specific page within the site
    This could be, for example, a mobile version of the site.

In addition, you can also transform the navigation of the website, so that it fits your requirements.

For example, you can define that for a tablet, if a page has 4 columns, they will be displayed as 2 rows and 2 columns, but for a smartphone, 4 columns will be displayed as 4 rows. In addition, you can specify that a conventional navigation bar on top of the page will be displayed on a mobile phone as a dropdown menu.

Thus, a responsive design rule consists of:

  • Definition of the devices on which to apply the rule – the media query
  • Definition of how the page content is displayed – transformation of the layout or redirect to another page
  • Definition of navigation transformations (optional)

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?