This article covers the new Guest app. Most layout problems come from setting something on the wrong element. Spacing and alignment are set on the element that holds the others, not on the elements inside it.
How layout works
Select an element and open Layout:
Width and Height: Fit sizes the element to its content, Fill uses the space available, or type a number in pixels. The … next to each sets a minimum and maximum.
Padding: space inside the element. Type one value for all sides, or four values for top, right, bottom and left.
Gap: space between the elements inside it. Type a number, or
autoto spread them out evenly.Position: where the elements inside it sit, left to right and top to bottom.
There is no margin setting. To add space around an element, use Padding on it, or Gap on the element that holds it.
Why it happens, and how to fix it
1. Gap or Position is greyed out
Gap and Position arrange what is inside an element, so they are greyed out on elements that hold no others: Heading, Body, Button, Image, Image Carousel, Video, Map and similar.
Fix: select the container or card that holds the element, and set Gap and Position there.
2. Spacing between two elements is wrong
There is no margin, so space between elements comes from the Gap of the element that holds them, plus each element's own Padding.
Fix: set Gap on the container. If one element needs more room, add Padding to it.
3. Carousel slides are the wrong width
The Width list for a carousel offers only Fill. Each slide in a Carousel has its own width. A new slide is set to Fill, so it is as wide as the carousel. A slide wider than the screen is cut off at the edge. If Controls is set to Peek, every slide is 85% wide and its own width is ignored.
Fix: select a slide, open Layout and type a Width in pixels, so the next slide shows at the edge. Set the carousel's Height on the carousel itself. In an Image Carousel, each image fills the carousel, unless Controls is set to Peek.
4. Text formatting is missing
In a text element, select some text to format it. You can make it bold, italic or crossed out, and add a link. Size, font and alignment apply to the whole element, not to single words. Lists are not available.
Fix: to style one part of a text differently, put it in its own text element. For anything the text tools cannot do, the Custom HTML element takes your own HTML and CSS. Scripts are removed.
5. A link in the text does not work
A link in text works if it is a web address (https:// or http://), starts with mailto: or tel:, or starts with / or # for a link within the app. If you type a web address without https://, it is added for you. Any other link is shown as plain text, without the link.
Fix: edit the link so that it is one of these.
How to check that it worked
Publish your changes: Activate in the page editor.
Open the page in Preview as Guest and check it on a phone-sized screen, where layout problems show first.
Need Help?
Click your organisation name at the top left of the platform and choose Talk to us, or email [email protected]. We are happy to help.
Include the page name and which element looks wrong, ideally with a screenshot of the guest view, so we can see the problem without recreating it.