# Preview BSS does not match published site

**URL:** <https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234>\
**Category:** Bug Reports\
**Created:** [August 16, 2022, 12:41am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234 "2022-08-16T00:41:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilmar](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/gilmar/32/1533_2.png) [@gilmar](https://forum.bootstrapstudio.io/u/gilmar)\
**Post date:** [August 16, 2022, 12:41am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/1 "2022-08-16T00:41:28Z")

</div>

I don’t know if it’s really an error, but I’m not able to generate a preview in BSS for mobile devices that corresponds to the display of the site after it’s published, in the program we have a surplus in the visualization, this makes it difficult to create the site, if it is possible to limit the display, or there is a setting to do this, would be very nice.  
In fact, it looks like the site only respects dimensions in the PWA.  
When setting an autura of 100vh, in mobile browsers there are always problems, but the PWA works perfectly fine.  
This is the site I’m making and having these difficulties.  
[https://criacaodesites.bss.design/](https://criacaodesites.bss.design/)

A screenshot of the BSS screen, note a blue bar at the end of the site, this is the excess I referred to.

 ![image](https://forum.bootstrapstudio.io/uploads/default/original/2X/8/89de751d5ea16a68465f143c176b0ed88ea82bbb.jpeg)

 ![image](https://forum.bootstrapstudio.io/uploads/default/original/2X/d/d1bc5939e18492d72c021a956d180ecc2e5d5d81.jpeg)  
This really causes difficulties to know the result of the published site, having to do several tests to reach a favorable result.  
It’s a very big waste of time.  
If the height set to 100vh would bring the correct end results, with no pops, it would be very good to work with.

Remembering that the program has 6 types of display on devices, doing this for each one would really consume a lot of time.

---

<div class="post-metadata">

**Author:** ![printninja](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/printninja/32/481_2.png) [@printninja](https://forum.bootstrapstudio.io/u/printninja)\
**Post date:** [August 16, 2022, 1:59am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/2 "2022-08-16T01:59:53Z")

</div>

I’m not entirely clear on what your issue is, but if you go to the top menu, choose File \> Settings \> Devices, you can create a custom device to simulate the pixel width and height of any screen you want.

In general, I’ve found it’s best to preview the site you’re working on on an actual mobile device (as opposed to using a desktop browser simulating a mobile device.)

Not sure if this helps, but if you have a WiFi network, you can preview your BSS site on your mobile device in real-time, just like in a desktop browser on your computer. Just open a browser on your phone and enter the network IP address that BSS generates in the browser’s URL bar.

You’ll get the same real-time preview of your website on your phone/tablet that you’d get on your desktop. Of course, you must have a WiFi network on your system to do this.

---

<div class="post-metadata">

**Author:** ![gilmar](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/gilmar/32/1533_2.png) [@gilmar](https://forum.bootstrapstudio.io/u/gilmar)\
**Post date:** [August 16, 2022, 2:21am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/3 "2022-08-16T02:21:39Z")

</div>

Thanks, I’ll test this tomorrow, any questions I ask a friend for help.

---

<div class="post-metadata">

**Author:** ![twinstream](https://forum.bootstrapstudio.io/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@twinstream](https://forum.bootstrapstudio.io/u/twinstream)\
**Post date:** [August 16, 2022, 2:57am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/4 "2022-08-16T02:57:06Z")

</div>

Just noticed the scan code is available to preview on mobile in Bootstrap Studio settings to open in browser. Hold your phone up and open your camera and it will ask to take you to the site. Wow !

---

<div class="post-metadata">

**Author:** ![richards](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/richards/32/3163_2.png) [@richards](https://forum.bootstrapstudio.io/u/richards)\
**Post date:** [August 16, 2022, 7:47am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/5 "2022-08-16T07:47:04Z")

</div>

The mobile browser sees 100vh as the height of the phones screen including the URL bar, on a PWA (if you have fullscreen) there will be no URL bar so it works ok.

You could try:

```auto
height: 100vh;
max-height: -webkit-fill-available;

```

or

```auto
height: calc(100vh - calc(100vh - 100%))

```

Or use a script to get the actual height of the mobile browser window

This page might be helpful for you:

> **[One moment, please...](https://css-tricks.com/the-trick-to-viewport-units-on-mobile/)**

---

<div class="post-metadata">

**Author:** ![gilmar](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/gilmar/32/1533_2.png) [@gilmar](https://forum.bootstrapstudio.io/u/gilmar)\
**Post date:** [August 16, 2022, 11:27am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/6 "2022-08-16T11:27:41Z")

</div>

Every day I get happier with this forum, friends always helping, thank you.

---

<div class="post-metadata">

**Author:** ![apowell656](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/apowell656/32/1372_2.png) [@apowell656](https://forum.bootstrapstudio.io/u/apowell656)\
**Post date:** [August 16, 2022, 11:36am UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/7 "2022-08-16T11:36:23Z")

</div>

This is a time saver. I have three test devices on my desk and the QR code makes it super simple to test a layout.

---

<div class="post-metadata">

**Author:** ![printninja](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/printninja/32/481_2.png) [@printninja](https://forum.bootstrapstudio.io/u/printninja)\
**Post date:** [August 16, 2022, 5:14pm UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/8 "2022-08-16T17:14:48Z")

</div>

I agree.

@twinstream Been using this program for four years, and it never dawned on me that there were QR codes to go to the site. I just copied the URL and make a shortcut on my phone and computer.

---

<div class="post-metadata">

**Author:** ![charlene\_k](https://forum.bootstrapstudio.io/letter_avatar_proxy/v4/letter/c/ea666f/32.png) [@charlene\_k](https://forum.bootstrapstudio.io/u/charlene_k)\
**Post date:** [August 17, 2022, 7:17pm UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/9 "2022-08-17T19:17:38Z")

</div>

Sorry, where is this?  
Do I have to create a custom device?

---

<div class="post-metadata">

**Author:** ![printninja](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/printninja/32/481_2.png) [@printninja](https://forum.bootstrapstudio.io/u/printninja)\
**Post date:** [August 17, 2022, 7:39pm UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/10 "2022-08-17T19:39:28Z")

</div>

It’s in the Preview settings. When you hover your mouse over the icon circled in red, you will see the QR code appear. Alternately, you can open a browser on your mobile device and type the generated URL (highlighted in yellow) into the address bar of the browser. (NOTE: your generated URL may be different from mine. You have to use the one that’s generated for your network.)

 ![image](https://forum.bootstrapstudio.io/uploads/default/original/2X/a/a9f3324722596f0a245d866281dc3094b00478fe.png)

---

<div class="post-metadata">

**Author:** ![charlene\_k](https://forum.bootstrapstudio.io/letter_avatar_proxy/v4/letter/c/ea666f/32.png) [@charlene\_k](https://forum.bootstrapstudio.io/u/charlene_k)\
**Post date:** [August 17, 2022, 8:10pm UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/11 "2022-08-17T20:10:27Z")

</div>

WoW! I would never have found it. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![printninja](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/printninja/32/481_2.png) [@printninja](https://forum.bootstrapstudio.io/u/printninja)\
**Post date:** [August 17, 2022, 8:17pm UTC](https://forum.bootstrapstudio.io/t/preview-bss-does-not-match-published-site/9234/12 "2022-08-17T20:17:38Z")

</div>

Don’t feel bad. I’ve been using the program for four years and consider myself pretty familiar with the UI, and I didn’t know this feature existed until @twinstream pointed it out. This feature is not even shown/mentioned in the (less than stellar) BSS docs.

> **[Previewing | Bootstrap Studio](https://bootstrapstudio.io/docs/previewing.html)**
>
> Tutorials and Guides about Bootstrap Studio, the revolutionary web design tool.
