I like to test my site’s responsiveness, by dragging its window continuously wider and less wide. I use this code in my header (can be added through page settings) to dynamically display the current breakpoint (LG, MD, SM, XS) in an overlay box in the upper left corner. Maybe it’s useful for someone of you.
Sorry if this is covered somewhere else, but is there anyway to wrap this so that it’s only is shown when viewing the page under Blocs in preview as well as when serving pages as a “server”?
Also it would be great to be able to add this header across all pages, almost like a header global in the project settings. Maybe a feature request for @Norm? But at this point, it would almost make more sense simply to bake this into Blocs itself for preview and “server” mode.
Also it would be great to be able to add this header across all pages
To achieve this, put it in the code editor: Window → Code Editor → Additional CSS (without the style tags)
is there anyway to wrap this so that it’s only is shown when viewing the page under Blocs in preview as well as when serving pages as a “server”
Don’t know how to achieve this. But my workflow is to use this code when I test/develop the breakpoint behavior. Once it’s fixed, I just comment out the code (/* .. */) and comment it in next time I need it. IMHO a feasible manual workaround.
This type of approach has been around for sometime. Though in general, for a bric or a baked in app feature its better to instead use javascript as there is far more flexibility and potential.
I found this on the second link. How does that fit into these large screen displays, say 55” and up?
Width
The width option lets you set the maximum width that your site will stretch to fit. By default it’s set to 1170px, this means once the width of the browser it’s being viewed in is 1170px wide your website will no longer grow in width to fill the available space. Instead, it will remain at 1170px wide, but horizontally centre in the middle of the available space, within the browser window.
This value can be set to anything, for example: if you want your site to fill the browser edge to edge no mater what size the browser window is, you would change this value to 100%;
Your current options with Blocs are just as mentioned in that second link and documentation link, set a max width which centers or 100% which scales. If you have questions or concerns about this then its probably best to ask in that older thread which you started.