My website is not fitting in every resolution,I tried the wixwindow module after searching a few posts but nothing is working.


Is there anyway to add bootstrap code to wix site.This could aslo resolve the issue for resolution fix.


I also feel that there is some sort of bug in the editor because earlier my site was fitting properly but after a few changes made to the site ,I’m facing this resolution issue.

Hello Deepanshu.

Responsiveness is something we are constantly working on and looking to improve in. Untill then here are a couple solutions

  1. Use the bounding rect api from WixWindow to get the browsers height and width and when it changes, hide/show a group that is meant for that size. So you will have multiple groups of elements, each for their own size based on the browser height and width you get from the WixWindow api. You will hide/show the relevant group based on size of browser.

  2. Same thing as above but duplicate the site and redirect to appropriate site based off browser width and height

Best of luck,
Majd