# Sections with Custom Background

## What is Sections with Custom Background

Our component boosts SharePoint Online's functionalities, **empowering you to enhance your SharePoint intranet's visual attractiveness with a modern design.**&#x20;

SharePoint Online's limitations become evident when you realize they are limited to just 4 background colors for sections. In response to this constraint, our component emerges as a valuable solution, enabling you to freely **choose your favorite colors or design custom graphics.**&#x20;

This flexibility allows you to **create backgrounds that align with your corporate brand**, **streamlining user navigation** and **elevating the overall user experience.**&#x20;

{% hint style="info" %}
Explore the **advantages** of Intranet.ai **Sections with Custom Background** by [**clicking here**](https://intranet.ai/features/sections-with-custom-background/) to learn more.
{% endhint %}

***

## Add the Sections with Custom Background web part to a SharePoint page

* If your page is not already in edit mode, click **Edit** at the top right of the page.
* Hover your mouse above or below an existing web part and you'll see a line with a circled +, like this: <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FccHplKgXfibd4tktmhas%2Fadvanced-search-2.png?alt=media&#x26;token=7d703967-c3f7-4125-834b-f695362bf90b" alt="" data-size="line">&#x20;
* Click on it and, in the web part search box, enter **Background** to quickly find and select the Sections with Custom Background web part, which is named "IAI - Background Section Editor".

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FvfM9CR2fh9nfVElBaFwf%2Fadvanced-search-3.png?alt=media&#x26;token=26c1b01d-d14a-4c9e-9a98-f0b981e21a23" alt=""><figcaption></figcaption></figure></div>

* Click the **Edit** **properties** <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2Fgo5R8EYd0FtvygA6YxOX%2Fimage.png?alt=media&#x26;token=78e63f2c-19b4-4bf9-b01a-3e1e2bb0e430" alt="" data-size="line"> button on the left of the web part to open the property pane and set options such as Settings background color, Settings background image, and Settings background height. See below for more information on each of these options.

***

## Configuration

1. [Settings background color](#settings-background-color)
2. [Settings background image ](#settings-background-image)
3. [Settings background height](#settings-background-height)

### Settings background color <a href="#settings-background-color" id="settings-background-color"></a>

This section is designed to **customize the background color of specific sections** of your intranet, to enhance visual appeal and draw attention to key content areas.

To do this, you'll need to **select or enter (using hexagonal color codes)** **the specific color** you wish to apply as a background to these sections. This level of customization not only allows you to create a more **visually appealing and coherent intranet**, but also to guide users more effectively through your content by **emphasizing the most important areas.**

{% hint style="info" %}

* If you're not in edit mode already, click **Edit** at the top right of the page.
* Select the Background web part, then click **Edit web part** <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FifneHevoPoiqOf3I4qhG%2Fadvanced-search-4.png?alt=media&#x26;token=0f786f56-083c-4bea-9dfe-c278f007284d" alt="Web part edit button" data-size="line"> on the left side of the Background web part.
  {% endhint %}

Click on the **drop icon** <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2Fnu5tDmtrhnYJJJ6wykNZ%2Fimage.png?alt=media&#x26;token=a6e2f712-6ab9-479f-9f01-6fde1d18b1f1" alt="" data-size="line">

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FmFlIfgiWlFeKdtudj6tB%2Fbackground3.png?alt=media&#x26;token=537285b4-8d14-4b5d-a46e-1d8e5b404184" alt=""><figcaption></figcaption></figure></div>

You can choose a color by **rolling your mouse over the color panel,** or **insert the hexadecimal color code** in the fields below.

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FPSx0I1Qb7MbH7SR8vvYl%2FProgetto%20senza%20titolo%20(1).png?alt=media&#x26;token=0cafc62a-65e1-43b8-b94b-c3f4d874bcab" alt=""><figcaption></figcaption></figure></div>

Below is a preview **of a color background** chosen i**n edit mode**:

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FDdGSQ2ysOEegdxlTaqM8%2Fbackground1.png?alt=media&#x26;token=fff431f2-f501-4fc6-83ee-4d437db1eb70" alt=""><figcaption></figcaption></figure>

Here's the final result of the preview's color background:

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FlewP8yBqg0KQ5jwSEASS%2Fbackground2.png?alt=media&#x26;token=3c733e70-ad39-42b7-80bc-ad2974cabb3e" alt=""><figcaption></figcaption></figure>

### Settings background image <a href="#settings-background-image" id="settings-background-image"></a>

This section allows you to **customize your intranet's background image** to enhance visual and draw attention to key content areas.

To achieve this, you will need to **select** or **upload** the **specific image** you'd like to use as the background for these sections.

{% hint style="info" %}

* If you're not in edit mode already, click **Edit** at the top right of the page.
* Select the Background web part, then click **Edit web part** <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FifneHevoPoiqOf3I4qhG%2Fadvanced-search-4.png?alt=media&#x26;token=0f786f56-083c-4bea-9dfe-c278f007284d" alt="Web part edit button" data-size="line"> on the left side of the Background web part.
  {% endhint %}

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2F1gpYdJAZ4OC68gMNpa2C%2Fbackground5.png?alt=media&#x26;token=9ed11967-8d7e-4542-aee5-28fef64e87f2" alt="" width="357"><figcaption></figcaption></figure></div>

* In the first field, **copy-paste the link of the image** you want to use as a background.

{% hint style="info" %}
**Please note**: you need to **upload and save the image** beforehand in a folder on SharePoint Online in the Site contents of the intranet, where all users have access.
{% endhint %}

#### How do I get an image URL from Sharepoint Online?

* Open a new page and at the top right of the screen, click on **the Settings icon** <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FFjhZi3kOI3Ip0uQWuDYv%2Fimage.png?alt=media&#x26;token=ec853f22-f40f-4cd2-9dd4-e6eb2c5fafbc" alt="" data-size="line"> and on **Site contents.**

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2Fw8gQuqWDnEvaZZ9LXyWH%2Fbackground6.png?alt=media&#x26;token=57a4ac15-54b3-4353-80a9-f3d0f6e9686e" alt="" width="346"><figcaption></figcaption></figure></div>

* **Select the folder where you have uploaded your images** and you'll access the **image library.**

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FZ45Wm9pJPPtZmMIBvtdP%2Fbackground7.png?alt=media&#x26;token=9075d370-0a9c-429f-9d44-671d0dbfc115" alt=""><figcaption></figcaption></figure>

* **Select your image** and click on the  <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FBaRTideIWL4N5vjS7NDZ%2Fimage.png?alt=media&#x26;token=ad197551-9aec-41ed-a18e-5c112c509ffe" alt="" data-size="line"> icon on the top right button, **to access information on this image**.

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FzZFH5sRj89GuBumGWQwY%2Fbackground8.png?alt=media&#x26;token=753f1e49-55c2-4cf7-8aa1-b53fec10e547" alt=""><figcaption></figcaption></figure></div>

* **Scroll down** and **copy the image path** by clicking on the <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FnKPmEv7RuwUZ3iPSnxWD%2Fimage.png?alt=media&#x26;token=3af39baa-fce8-4bad-98c8-e653ad48f97e" alt="" data-size="line">icon.
* **Go back to the page** with the background web part and **insert the path of the image** in the required field.

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FDQgU6hRa8JdVKYcgYMvq%2Fbackground9.png?alt=media&#x26;token=74dea991-fd85-404c-bc02-dc34f4d0cc81" alt=""><figcaption></figcaption></figure></div>

* Below is a **preview of the background image** in **edit mode:**

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2Fc65rlrHYyww2Jf3saDkr%2FProgetto%20senza%20titolo%20(2).png?alt=media&#x26;token=c684cff3-1b23-42cd-a168-ad8131dafe2e" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
In this section, you can also **display GIFs in mp4 format**. You can create a gif on Canva, save it as mp4, upload it to an image library (on the intranet) and copy-paste its link into the required field.
{% endhint %}

* Finally, you can choose **the position of the image focal point (top, center or bottom)** of your background, by selecting one of the three options in the drop-down menu.

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2F3J8KmFCLMk0Wp3V79fBc%2Fbackground11.png?alt=media&#x26;token=7d3318ef-e4a7-4326-9e22-35e1014720d1" alt=""><figcaption></figcaption></figure></div>

### Settings background height

In this section, you can **adjust the height of the intranet’s background,** to enhance its visual appeal and emphasize content areas.

To do this, you'll need to **specify the background height in pixels**. This feature not only improves the aesthetics of your intranet, but it also **makes it easier for users to navigate**, by **emphasizing important sections.**

{% hint style="info" %}

* If you're not in edit mode already, click **Edit** at the top right of the page.

* Select the Background web part, then click **Edit web part** <img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FifneHevoPoiqOf3I4qhG%2Fadvanced-search-4.png?alt=media&#x26;token=0f786f56-083c-4bea-9dfe-c278f007284d" alt="Web part edit button" data-size="line"> on the left side of the Background web part.
  {% endhint %}

* **The default setting is 0px.** You can expand your image **up to 2000px.** The more you expand your image, the more it will fill and overflow the other sections (see examples below).

{% hint style="info" %}
Remember to choose the right size for your background image: 1900 x 545.
{% endhint %}

<div align="left"><figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FXpi2kgwBu9aMqirsVhAP%2Fbackground12.png?alt=media&#x26;token=ab0ebbb0-6ba8-4b6e-87df-17c1794722c8" alt=""><figcaption></figcaption></figure></div>

* Below is a **preview of image height at 300px**.

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FG9SdOQ5YD6FxaEF4AmkG%2Fbackground14.png?alt=media&#x26;token=ea917ac4-ba67-40d0-b99e-3f57e6e59908" alt=""><figcaption></figcaption></figure>

* Below is a **preview of image height at 2000px.**

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FfzrFdAN9UgYXahv2PqcX%2Fbackground13.png?alt=media&#x26;token=41ddfbf4-d9bc-4f4f-bd1e-678ccfa2ed11" alt=""><figcaption></figcaption></figure>

{% embed url="<https://intranet.ai/>" %}
