# Arranging elements on a page

> Place, resize, group and align photos, text and buttons anywhere on your CoreHue website, with copy and paste, layers, undo and keyboard shortcuts.

Source: https://help.corehue.co/docs/websites/arranging-elements/

Inside a section, you put things where you want them. Let a photo overlap a headline, or tuck a caption under a picture. Elements snap as you drag, so edges line up without fiddling.

## Selecting, moving and resizing

Click an element to select it and open its settings in the side panel. Drag it to move it (it doesn't need to be selected first), and drag a handle on an edge or corner to resize it. The arrow keys nudge it a small step, or further with Shift held.

As you drag, guide lines appear when the element lines up with the edge or center of another element, or with the middle or content edges of the section. When the gap beside it matches another gap in the same row or column, small marks show on both, so even spacing is easy to hit. Hold Shift while you drag to keep the move in a straight line, across or up and down.

If a text box ends up taller than its words, choose **Fit height to text** in **More actions**.

## Editing text in place

Select a text element and a toolbar appears on the page, with its settings in the side panel. **Edit** puts your cursor in the text, as does double-clicking or pressing Return. Return while typing starts a new paragraph, or a new item in a list. Choose **Done** or press Escape when you've finished.

The toolbar works on the words you've highlighted while typing, or on all the text in the element when it's selected but you aren't typing:

| Control | What it does |
| --- | --- |
| **Style** | Picks the text style, like Heading 1 or Body. See [Choosing fonts](/docs/websites/fonts) |
| **Bold**, **Italic**, **Underline** | Formats the words |
| **Text color** | Colors the words or adds a **Highlight** behind them, using your palette |
| **Link** | Links the words you've highlighted to a **Page**, **Web address**, **Email** or **Phone**. Only shows while you're typing |
| **Bulleted list**, **Numbered list** | Turns the lines into a list, or back into paragraphs |
| **Quote** | Sets the lines as a quote |
| **More text styles** | Opens **Style text** in the side panel for everything else |
| **Align text** | **Align left**, **Align center**, **Align right** or **Justify** |

**Style text** adds **Strikethrough** and **Capitals**, a **Typeface** borrowed from another of your text styles, a **Weight**, a **Size** (**Smaller**, **Larger** or **Much larger**), **Text color**, **Highlight** and an **Indent**. With no words highlighted, these apply to the whole paragraph. **Clear formatting** takes it all off again, apart from links. On Pro, **Custom color** also lets you pick any color for the words.

Photos, galleries and every other element get a toolbar on the page too, with **Settings** to open the side panel, **Duplicate**, **Remove element** and **More actions**. A button's toolbar also has **Edit**, so you can change its words right on the page. Photos have **Reposition** at the top of their settings.

## The actions menu

**More actions** holds everything you can do with what's selected. You'll find the same menu in three other places: right-click the element on the page, right-click its row in **Layers**, or open **More actions** at the top of its settings.

| Action | What it does |
| --- | --- |
| **Edit text** (**Edit label** on a button), **Settings** | Starts typing, or opens its settings. In the toolbar's menu and the right-click menu |
| **Copy**, **Paste**, **Duplicate** | Copies the selection, pastes what you copied, or adds a copy right away |
| **Layer** | **Bring forward** or **Send backward** one layer, or **Bring to front** or **Send to back** of everything else in the section |
| **Align to section** | Lines it up with the section's **Left**, **Center**, **Right**, **Top**, **Middle** or **Bottom**. Called **Align elements** when several are selected |
| **Move up the page** / **Move down the page** | On Mobile only, moves it up or down the phone layout |
| **Group** / **Ungroup** | Joins several elements into a group, or splits one back up |
| **Fit height to text** | Shrinks a text box to fit its words |
| **Hide on desktop** (or tablet, mobile) | Hides it on the device you're viewing. Reads **Show on desktop** (or tablet, mobile) once it's hidden |
| **Lock** / **Unlock** | Stops it being dragged by accident, or frees it again |
| **Remove element** | Takes it off the page |

Right-click a locked element and you'll get **Unlock** and **Show in layers** instead. Right-click an empty part of a section for the section's own menu. See [Working with sections](/docs/websites/working-with-sections).

## Copying and pasting

Choose **Copy** in **More actions**, or press Command + C. Then select any section on the same page, or an element in it, and choose **Paste** or press Command + V. The copy lands in that section with the same look, so its colors, fonts, borders and size come along. Paste again for another copy.

Copying works within the page you're on. To reuse a whole page's layout somewhere else, duplicate the page or save it as a page design. See [Using page designs](/docs/websites/using-page-designs).

## Working with several at once

Hold Shift (or Command on a Mac, Control on Windows) and click to add elements to your selection. You can also drag a box across an empty part of the section to catch everything inside it.

The toolbar then shows how many you've selected. **Group** makes them move and resize together, and **Ungroup** splits them again. **Align** lines them up by their **Left**, **Center** or **Right** edges, or their **Top**, **Middle** or **Bottom**. With three or more, **Space evenly** spreads them out with equal gaps, **Horizontally** or **Vertically**. A group is treated as one piece, so it keeps its own arrangement. **Duplicate** and **Remove elements** work on the whole selection.

Group a photo with its caption and they stay together when you move them, on phones too.

Click anything in a group and the whole group is selected. Click one of its members again to pick it out on its own, so you can edit, move or remove it while the group stays a group. Escape takes you back to the whole group.

## Layers

Select a section and choose **Layers** in the top bar, or press Option + 1, to see every element in it, front to back. Drag a row to change what sits on top, or double-click a name to rename it, which helps on a busy section. You can also hide an element on the device you're viewing. Elements in a group are marked with a small group icon.

Hover a row and choose **More actions**, or right-click it, for the same actions menu the page has.

**Lock** stops an element being dragged by accident. Clicking a locked element on the page selects its section instead. Choose **Unlock** in Layers, or right-click the element on the page, to move it again.

## Hiding an element on one device

Choose **Hide on mobile** (or desktop, or tablet) in **More actions**, in Layers, or under **Visibility** in the element's settings. It hides only on the device you're viewing, so a long headline can stay on desktop while a shorter one shows on phones. See [Making your site work on phones and tablets](/docs/websites/phones-and-tablets).

## Undo and redo

**Undo** and **Redo** in the top bar cover your last 50 changes, on your pages and in your site-wide design, like colors, fonts, your header, your footer and your menu. Hover either one to see what it will do, like "Undo move image".

Undo works on the page you're looking at, so to take back a change on another page, open that page first.

The editor saves as you go, and your history lasts while it's open. Adding, deleting or renaming a page, and changing its settings, can't be undone, so check before you delete.

A few things do wait for you to save, like a page's settings or new custom code. If you move to another tab or setting first, the editor asks **Discard unsaved changes?**, and **Keep editing** takes you back to finish. If you close the editor while changes are still saving, it asks **Leave without saving?** so nothing slips away.

## Keyboard shortcuts

On Windows, use Control in place of Command, and Alt in place of Option.

| Keys | What it does |
| --- | --- |
| Arrow keys | Nudge the selection |
| Shift + arrow keys | Nudge it further |
| Shift while dragging | Keep the move in a straight line |
| Command + Z | Undo |
| Shift + Command + Z, or Command + Y | Redo |
| Command + C | Copy the selection |
| Command + V | Paste into the section you've selected |
| Command + D | Duplicate the selection, or the section if no element is selected |
| Command + G | Group |
| Shift + Command + G | Ungroup |
| Command + ] or Command + [ | Bring forward or send backward one layer |
| Option + Command + ] or Option + Command + [ | Bring to front or send to back |
| Shift + Command + L | Lock or unlock the selection |
| Command + A | Select every element in the section, except locked ones |
| Option + up or down arrow | Move the selected section up or down the page. On Mobile, moves the selected element up or down the page instead |
| Option + 1 | Open or close **Layers** |
| T, R or L | Add a text box, a shape or a line to the section you've selected |
| Delete or Backspace | Remove the selection |
| Return | Edit text, or open the settings of what's selected |
| Escape | Finish typing, close what's open, or step out: from a group member to its group, then to the section |
| Command + B, I or U | While typing, bold, italic or underline |
| Shift + Command + X | While typing, strikethrough |
| Command + K | While typing, link the highlighted words |
| Tab, or Shift + Tab | While typing in a list, indent the list or bring it back out |

While you're repositioning a photo inside its frame, the arrow keys move the photo, plus and minus zoom, and Return or Escape finishes. See [Your website's photo library](/docs/websites/photo-library).

## Frequently asked questions

### Can I link just a few words in a paragraph?

Yes. Double-click the text, highlight the words and choose **Link** in the toolbar, or press Command + K. Pick where they lead in the side panel and the words are linked. If you close the panel without choosing, they stay as they were. To take a link off later, open it again and choose **Remove link**.

### Why won't an element move when I drag it?

It's probably locked. Open **Layers** and choose **Unlock** next to it.

### Can I undo a change after switching pages?

Yes, as long as the editor has stayed open. Go back to the page and use **Undo** there. Undo always takes the most recent change first, so a site-wide change you made after leaving that page, like a new color, is undone before it. Once you close or reload the editor, the history is gone. If your site is live and you haven't published the mistake, **Discard changes** on the **Website** page returns to the published version. See [Drafts, versions and the Bin](/docs/websites/drafts-versions-and-the-bin).

### Can I copy an element to another page?

No. Copy and paste works between sections on the same page. On another page, add the element again, or duplicate the whole page from the **Pages** tab.

### Does moving something on desktop move it on phones?

No. Once an element is on the page, Desktop, Tablet and Mobile each keep their own position and size for it. See [Making your site work on phones and tablets](/docs/websites/phones-and-tablets).

### What happens if I edit my website in two tabs?

The most recent save wins, and the other tab catches up with it. To keep things simple, edit in one tab at a time.
