# Buttons, spacing and animation

> Style the buttons and arrows on your CoreHue photography website, set page width, margins and section spacing, and choose how content animates in.

Source: https://help.corehue.co/docs/websites/buttons-spacing-and-animation/

Button style, spacing and motion live at the bottom of the **Design** tab, under **Buttons and arrows**, **Spacing** and **Animation**. Like the rest of the Design tab, they apply to your whole site.

## Buttons and arrows

Your site has two button looks: **Primary** for the main thing you want visitors to do, like booking, and **Secondary** for everything else. Each can be **Solid** (filled), **Outline** (a border with no fill) or **Underline** (text with a line under it). The preview at the top shows both as you change them.

### Shape and size

**Shape** is **Square**, **Rounded**, **Pill** or **Custom**. Custom adds a **Corners** slider.

**Size** is **Small**, **Medium**, **Large** or **Custom**. Custom adds **Horizontal padding** and **Vertical padding**.

**Text case** and **Letter spacing** style the words on every button. They're shared with the **Button text** style under **Fonts**, so a change in one place shows in the other. See [Choosing fonts](/docs/websites/fonts).

### Arrows

**Arrow style** picks the arrow your site uses: **Chevron**, **Arrow**, **Long arrow**, **Open arrow**, **Arrow in a circle** or **Arrow in a square**. **On buttons** decides where it appears: **None**, **Primary buttons only**, **Secondary buttons only** or **All buttons**. **Arrow size** sets the arrows on slideshows and galleries.

### Button colors and individual buttons

Button colors come from your palette, and each scheme has its own. See [Choosing colors and palettes](/docs/websites/colors-and-palettes).

On any **Button** element, **Style** switches it between **Primary** and **Secondary**. See [Elements you can add](/docs/websites/elements-you-can-add).

## Spacing

| Setting | What it does | Per device? |
| --- | --- | --- |
| **Page width** | How wide your content can get on large screens, from 640 to 1,600 pixels | No, the same everywhere |
| **Side margins** | The space between your content and the edges of the screen | Yes |
| **Section spacing** | The usual space between sections | Yes |

Wide pages suit big landscape work. A narrower page reads more like a magazine and keeps lines of text a comfortable length.

To set different margins or spacing on phones, switch the editor to **Mobile** with the device buttons in the top bar, then change the setting. The label reads "Mobile, same as desktop" until you do. **Reset spacing** puts everything back to your theme's own. See [Making your site work on phones and tablets](/docs/websites/phones-and-tablets).

If just one section needs more or less room, use **Above** and **Below** in its **Section settings** instead. See [Working with sections](/docs/websites/working-with-sections).

## Animation

### Entrance

**Entrance** is how content appears as visitors scroll down: **None**, **Fade in**, or **Rise**, which fades content in while moving it up a little. Your first section is already on screen when the page opens, so it never animates.

With an entrance on, you can also set **Speed** (slow, medium or fast), **Distance** for **Rise**, and **Easing**, which is how the movement starts and stops: **Smooth**, **Soft** or **Even**.

The sample in the panel plays each time you change something, and **Replay** plays it again.

### Between pages

**Between pages** is how one page gives way to the next: **None**, **Fade**, **Rise** or **Slide**. It plays on your published site, not in the editor. On a photography site, a soft fade usually sits better than a big slide, because it doesn't pull attention from your photos.

### Visitors who prefer less motion

Some people set their phone or computer to reduce motion. Your website follows that setting and skips the animation for them. You don't need to set anything.

## Frequently asked questions

### Can I give one button a different shape?

No. Shape and size are set for the whole site, so every button matches. What you can change per button is whether it's **Primary** or **Secondary**, and those two can look quite different.

### Why don't I see Shape and Size?

They only apply to solid and outlined buttons. If both **Primary** and **Secondary** are set to **Underline**, there's no box to shape, so the settings hide. Switch either one to **Solid** or **Outline** and they come back.

### Why can't I see the page transition in the editor?

**Between pages** only plays on your published site. Publish, then click between pages on your live site to see it. See [Publishing your website](/docs/websites/publishing-your-website).

### Do these changes go live straight away?

You see them in the editor as you go, and visitors see them once you publish.
