How to use Padding when setting up a layout from scratch:
The Outer Frame is often used for a background image, or a background colour. You should apply Padding on this Frame. Even if it doesn't feel like you need Padding on Desktop, it will Automatically create your padding on Mobile. If you're a beginner just use 64px on all sides.
The Inner Frame is where you apply a Fixed Width. This is the Maximum Width that a screen will grow to on Desktop Devices. Notice this Frame lights up in Mustard as soon as you add a Fixed Width. If you're a beginner, do not adding Padding to this Frame. Adding Padding automatically creates a 16px Padding on Mobile. If you've added Padding on the Outer Frame, plus added Padding on the Inner Frame, you will now have 32px on Mobile. Therefore, it's not advisable to add Padding here since not all Layouts will have a Fixed Width, and you want all Layouts to be consistent on all devices.
FRAME WIDTH (%)
On the inner Frame consider using Width % to reduce the width of the Frame. This is better than using extra padding as Width % is inactive on Mobile, therefore your Mobile Padding will remain neat and consistent.
The Padding tool only goes up to 64px. In instance where you'd like to add more Margin to give your Layouts more vertical space, use the the Margin tools. Here you can add custom heights for this Layout. The height you add often depends on the other Layouts that are above or below. This gives you the ability to decide and make your pages beautiful, with a consistent process across all your Layouts. If you're a beginner, then don't use Margin. 64px is most often the maximum you want to go.
A Block is where you want to add your Padding. Again, try to make this consistent. If you're a beginner, use 16px or 32px on all sides. Or, perhaps use 32px wide, and 16px high, to be more true to a landscape device screen. The main this is to try to be consistent on all you Layouts, then only deviate when you need to.
Once you've added Padding use the Block Tool to denote the Frame as a Block. In the future, your Layout may have many content editor as they come and go through the business. Making the Frame a Block, change the colour of the Frame to Dark blue. This make it easy for all users to understand where Padding lives, and helps make managing pages simple and consistent long in to the future.
If your Layouts have Columns. Use the Column tool to add Columns. In this video (above), I'm selecting 3 Columns. Notice that I apply a Block Class to the Parent Frame of each Column.
Also, notice that your website is automatically responsive. The Columns Stack on mobile, even in the Editor. But you can use the Preview tools in the Top Bar, or click Save and View, to View you page in a new Tab.
Rather than apply the Padding to each Side and then each Column separately, I use the following Shortcuts to apply the Padding to all Sides of all Columns in on click.
- OPTION ⌥: Applies Padding to all sides.
- CTRL ⌘: Applies Padding to all Columns
- OPTION ⌥ + CTRL ⌘: Applies Padding to all Sides and all Columns
Finally, you can add your Content. In this case, I'd like to add an Image, Text, and a Button. So I add three Frames, and add the relevant Content Components to each. Notice each Content Component is wrapped by a Frame. This allows me to add Padding, should I need it. In this case, I like to add 8px to the Top of the Button, as this feels just right.
IMAGE COMPONENT V'S BACKGROUND IMAGE
Notice the images I select have different heights. This is because these the first two images were 16X9 and the last Image was a square. Though, I'd like all the images to be the same height, in this case I'd like them to be quite tall at 500px high. Rather than use an Image Component to embed an Image, I can instead use an Image in the Background. I can give the Frame a Fixed Height of 500px. And I can adjust the position of the Image. Though, in this case I'll set the Image to 'Cover' the full width, and set it not to Repeat.
USE CHILD HEIGHT TO OVERLAY TEXT
Sometimes you might wish to add Text on top of your Background image. In which case you can add another Frame. Notice that when a Frame has a Fixed Height it automatically become a Parent, and the Child Height tool becomes available. In this case, I'd like the text to sit on the bottom. So I drag the Child Height to 100%. The text is Quite hard to read, so I give it an Overlay and change the text Colour to White. I give the Frame some Padding, in this case 16px Left and Right, and 8px Top and Bottom.
I also decide to make the Overlay 80% Width, so I use the Width tool and can play with the position of the overlay using Child Height and Width %, I can even adjust the alignment using Width Alignment.
I decide that I prefer the Grid View look, with text on Top of the Image, rather than the Card View with text below the image, so I clean up the Columns using the Delete tool.
I now need to add a new Column, so I use the column tool to make it 4 Columns. Notice that the last Column is duplicated. 4 Columns seems too condensed, so I'll actually make two Rows of two Columns. If I decide to make it 2 Columns. Notice the last two columns will delete. I don't want to loose that content, so I'll use the undo tool to bring it back to 3 Columns.
CLONING LAYOUTS AND MOVING BOCKS
I'll use the Clone tool to duplicate the 3 Columns. Then, I'll use the column tool to make the second row 2 Columns. If I want to move the Third Column of the First Row, to the First Column of the 2nd Row, I can hold SHIFT ⇧ and click the PLUS + icon of the chosen location. I can use delete to tidy up the Frames. And now use the Column to make the first Row 2 Columns.
Again, notice that these Rows are Responsive, and they stack on Mobile, but I'd prefer that they they'd double stacked on Mobile, so set the Device Stack to 'Double'.
I decide that I want to make one of the Background Images a Background Video. So I head over to YouTube, or Vimeo, to get the link. In Vimeo, we use the 'Video File Link', located in the 'Distribution' Tab. I simply copy it, and Paste it in to the Background Video field. Click 'Save and View' to view the video in the tab, as we Play Videos in the Editor to save Memory. You can leave the Background Image.
VIDEO BANNER LAYOUT
I decide add a Banner, rather than create a Banner from scratch, I choose one from the Layouts tab, where there are 5,000 readymade Layouts. You can search Layouts for every type of web page, or you can for Layouts on specific Themes. There's currently 60 themes and we're always adding more. When you drag and drop any Layout from any Theme it will instantly change into your website Fonts and Colours for rapid design. Check out other videos on that. For now, I'll just drag this onto the page.
Notice the Hierarchy of the Frames is exactly as you've just leant. This is the beauty of building in a consistent way everything is intuitive for all users, with uniform, semantic markup. While there are many Video Banners all ready-to-go, the Layout I've chose doesn't have a Video. So I'll paste the Vimeo Link again.
ABSOLUTE CHILD POSITION, RELATIVE TO THE PARENT FRAME
Now, I again want to add a Text Overlay. This time, I want my text to be in a Fixed position, and always remain Fixed to the bottom of the Banner on all devices. As web designers we say, I want the "Child Frame to be Absolute Bottom Left Relative to the Parent Frame". So, in Position you can see that I make the Child Frame 'Absolute' and 'Bottom Left' and 'Relative' to the Parent Frame.
USING BLOCK TO TIDY UP AND HANDOVER
You can see we've had two instance of how Child and Parent Frames can behave together. In many 'No-Code' platforms that you've probably tried, this can become very confusing, designers, even developers get it wrong, never mind their clients. So you can see how MOBLE simplifies even such advanced coding techniques. This is archived by having a nice, consistent, Page Hierarchy. It gives designers flexibility to create things, while all content, both now and in the future, the ability to pick up any Page and work in a Uniform way.
In Web Design, we call the Frame with the Padding a Block. So if you like you can use the Block tool to Tidy up your page and make it amazingly clear and simple for all future users.
DESIGNER MODE AND BUSINESS MODE
As designers we have an in joke, that you need to create two designs. The beautiful design for your Portfolio, that you first presented to your client, and the one the ends up on the Internet after your client has messed it up. You can see from this Tour that MOBLE is both a Web Builder for Designers and a CMS for Business. It helps designers create Beautiful Web Pages, plus hand them over in a way that your Content Team can understand. But it gets better than that. Notice in the Top Bar there is a Design Mode and a Business Mode. Design Mode is the Web Builder for Designers, and Business Mode is the CMS for Business. When you content team just wants to swap text and images, or change dynamic content they stay in Business mode.
Certain Clients will want to see a Wireframe, so you can Flip you Page in to Wireframe mode. A share your page, knowing that even your Wireframes are responsive, so there's literally no need to waste time sketching mocks. If you like drag layouts with your clients. They instantly turn in to there brands fonts and colours, but you can flip them to Wireframe mode too!
Once you're happy with your Layout. Click the Check Icon on the Frame Tools and your Layout will instantly be Saved as a Layout and added to the Layouts Drawer for you Clients and Content Teams to use. You can present branded Layouts to your Clients and even charge for the number of Layouts they'd like to build.
In the next episodes we're going to look at how to create Page Layouts for Online Store Product Pages, Category Pages, News Pages like the ABC or BBC, Video pages like Netflix. Event pages to sell Tickets or take RSVP, Donation Pages, even Subscription Pages and so much more. This isn't just a web page builder, it is an enterprise level CMS for powerful Dynamic Pages too, because you don't need to install apps like Shops, or Galleries, or Events, or Blogs you can just select the type of content you want, you can even combine content in the Same feed like Shop Products with Videos and related News. Just give it a tag and your content will instant display. As soon as your content team ads new content, products and images, it will instantly load on the page. They don't even have to edit the page. Of course, if you want to flip a grid, to a slider, or even a multi-slider. You can do it in a few clicks, to keep your page fresh, or quickly clone and build variants. The options are endless so make sure you watch the Widgets training to turn yourself from a designer to an enterprise level content management Pro.