Making your site work on phones and tablets
Plenty of your visitors will see your website on a phone before anything else. Every page on your CoreHue site has three layouts, for desktop, tablet and phone, and you can adjust each one without disturbing the others. Themes come with all three set up, so your site works on every screen from the start.
Switching devices in the editor
Use the Desktop, Tablet and Mobile buttons in the top bar. The canvas changes to that screen size, and anything you move, resize or hide applies to that device only.
Settings that can differ by device say which one you're editing, like "On mobile" next to a section's Height, or "Mobile, same as desktop" when a setting hasn't been changed for phones yet.
The website editor works on laptops and desktops. On a phone or tablet you'll see "Edit your website on a computer". Your published site still works on every device.
How the three layouts relate
When you add an element on Desktop, Tablet starts with it in the same spot and Mobile adds it full width at the bottom of the section. From then on, each device keeps its own position and size for it. Moving a photo on Desktop doesn't move it on Mobile, so you can fine-tune the phone layout without undoing your desktop work.
Settings work differently. Per-device settings like text size, side margins and section spacing follow the next larger device until you change them: Tablet follows Desktop, and Mobile follows Tablet. Change the side margins on Mobile and only phones get the new margin.
Phones show things in a stack
On Mobile, a section's elements sit one under another, top to bottom. To change the order:
- Switch to Mobile.
- Select an element.
- Choose Move up the page or Move down the page in the toolbar on the page, or in More actions. Option + up or down arrow does the same.
Elements that overlap, like words laid over a photo, move together, and so do grouped elements. Screen readers and search engines read the section in your Mobile order too, so check it even when the page looks right.
You can still drag and resize on Mobile, for example to make a photo narrower or give a heading more room.
Hiding something on one device
A long quote beside a photo can look right on a big screen and cramped on a phone. To hide something on phones only:
- Switch to Mobile.
- Select the element.
- Choose Hide on mobile in More actions, or turn it on under Visibility in its settings.
It stays on Desktop and Tablet. You can also hide and show elements from Layers.
Duplicate a heading and shorten the copy. Then hide the long one on Mobile and the short one on Desktop and Tablet.
Text size, margins and spacing per device
| Where | What you can set per device |
|---|---|
| Design → Fonts, then a text style | Size |
| Design → Spacing | Side margins and Section spacing. Page width is the same everywhere |
| Section settings | Height, and the space Above and Below |
| Element settings | Things like a gallery's Columns and text alignment |
Switch to the device first, then change the setting. See Choosing fonts and Buttons, spacing and animation.
Your header on phones
On small screens, your menu folds into a menu button. In the header settings you choose how it opens (Full screen, Sheet or Drawer), what the button shows (Text, Icon or Text and icon) and the icon's style. Turn on Preview open menu to see the open menu on the canvas while you style it.
Your logo has its own size for desktop and for phones. Tablets use the desktop size. See Setting up your header, menu and footer.
Checking your work
Choose Preview at the bottom of the sidebar to see the page as visitors will, then Continue editing or press Escape to go back. Once you've published, open your site on your own phone and scroll through it.
Frequently asked questions
Can I edit my website from my phone?
No. Make your changes and publish from a laptop or desktop, then check the result on your phone.
Why did a new element land at the bottom on my phone layout?
When you add an element on Desktop, Mobile puts it full width at the bottom of the section. Switch to Mobile and use Move up the page to put it where it belongs.
Does hiding an element on phones remove it from the page?
No. It's hidden on that device only and stays on the others. Show it again with Show on mobile in More actions or in Layers.
Which layout do visitors on an iPad see?
Visitors get the layout that fits the width of their screen. Most tablets held upright get the Tablet layout, and phones get Mobile.