top of page

Making Your Wix Website Responsive Across Different Screen Sizes with Google Tag Manager: A Free Solution

Updated: Jun 13

macking wix website 24" screen look like 15"


In today’s digital ecosystem, a responsive website is no longer a luxury; it's a necessity. While Wix excels in offering user-friendly website creation, it falls short in automatically scaling elements for different desktop screen sizes. Imagine a Wix website that looks flawless on a 15-inch screen but loses its charm on a 24-inch display. This lack of automatic responsiveness can be a hindrance, but don’t worry—there's a free and efficient solution using Google Tag Manager (GTM). Let's explore how you can make your Wix site visually appealing on any screen, without any cost.

What You'll Gain from This Guide:

This comprehensive guide will walk you through leveraging GTM to enhance your Wix website’s responsiveness. Our journey will encompass:

  1. Understanding Wix's scaling limitations and the necessity of manual intervention.

  2. An introduction to the functionalities of Google Tag Manager and its role in web optimization.

  3. A detailed, step-by-step tutorial to create and implement a GTM custom HTML tag for dynamic website scaling.

  4. An in-depth analysis of the script, breaking down how each line contributes to consistent website aesthetics across various screen sizes.

Make Wix Website Responsive- The Challenge with Wix's Desktop Responsiveness:

While Wix guarantees mobile responsiveness, its desktop version often fails to automatically adapt to varying screen resolutions. This discrepancy can result in disproportionate web elements, affecting user experience on screens that differ from your design template.

Harnessing the Power of Google Tag Manager:

Google Tag Manager emerges as a powerful, cost-free tool enabling seamless integration of code snippets such as JavaScript, tracking codes, or custom CSS into your website. GTM streamlines tag management, allowing modifications without directly altering your site's code.

Your Step-by-Step Guide to Enhanced Responsiveness:


1. Initiating Google Tag Manager:

- Begin by creating a Google Tag Manager account if you haven't already.

- Set up a new GTM container for your Wix website and integrate the GTM container snippet as per GTM's guidelines.

GTM wix integration

2. Crafting the Custom HTML Tag:

- Navigate to the GTM dashboard, initiate a new tag, and opt for 'Custom HTML' as the tag type.

creating new GTM tag

GTM custom HTML

- Insert the provided JavaScript code into the HTML box.

Insert script

(function() {
  // Function to scale up the site content to simulate browser zoom
  function simulateBrowserZoom() {
    // Define the pixel width threshold for large screens
    var largeScreenWidthThreshold = 1920; // Adjust this value based on your requirements
    // Define the scale factor - 1.3 simulates 130% zoom
    var scaleFactor = 1.3;
    // Check if the current screen width exceeds the threshold
    if (window.innerWidth > largeScreenWidthThreshold) {
      // Create a new style element
      var styleElement = document.createElement('style');
      styleElement.type = 'text/css';
      // CSS to apply the scale transformation
      var cssScale = 'html { ' +
                     '  transform: scale(' + scaleFactor + '); ' +
                     '  transform-origin: top left; ' +
                     '  width: ' + (100 / scaleFactor) + '%; ' +
                     '  height: ' + (100 / scaleFactor) + '%; ' +
      // Add the CSS rules to the style element
      if (styleElement.styleSheet) {
        styleElement.styleSheet.cssText = cssScale;
      } else {
      // Append the style element to the head of the document
  // Apply the scaling after the window has loaded
  window.addEventListener('load', simulateBrowserZoom);

3. Deciphering the Script:

- The script functions by evaluating the user's screen width. If it exceeds a predetermined threshold (like 1920 pixels for 24-inch displays), it triggers a CSS scale transformation.

- Utilizing the `transform: scale()` CSS property, the script effectively zooms in on the HTML content, enhancing the visibility of web elements on larger screens.

- It sets the `transform-origin` to the top-left, altering the width and height parameters to preserve content visibility fully.

4. Implementing Triggers:

- Apply the 'All Pages' trigger to this tag, ensuring the script activates with each page load on your website.

choosing trigger

5. Verifying the Tag's Functionality:

- Utilize GTM's preview mode for testing. Ensure the tag operates correctly across different browsers and screen sizes.

6. Deploying Your Tag:

- Once satisfied with the functionality, publish your tag to implement the changes across your website.

Deploying Your Tag


With this guide, you've unlocked the potential to transcend Wix's desktop responsiveness limitations using Google Tag Manager. This script ensures your website's design is automatically optimized for larger screens, eliminating the need for manual scaling and guaranteeing a harmonious user experience across desktop devices.

Final Thoughts:

While this script provides a practical solution, it's essential to acknowledge the value of responsive design principles. Aim to design your website with adaptability in mind, utilizing relative units and media queries for true responsiveness on all devices.

How Gnovelty Can Help

Gnovelty offers a comprehensive solution for patent drafting, including utility patents for app ideas. For just $1099, you can get a full patent draft suitable for your unique app concept.

Why Choose Gnovelty?

- Expertise in App Patents: Knowledgeable in the specific requirements for app-related patents.

- Affordable and Transparent Pricing: High-quality service at a fraction of the typical cost.

- User-Friendly Process: Simple, online process from the comfort of your home.

406 views1 comment

1 comentario

Did not make any difference for me unfortunately

Me gusta

Discover Gnovelty
online IP services

More Gnovelty

Never miss an update

Thanks for submitting!

bottom of page