# Design customization

The look of your Web GIS can be modified. You can customize logos, title, fonts, colors of the header, background, buttons and other elements.

#### NOTE
These settings can only be changed by an administrator. Apart from changing the Web GIS name and fonts, other design settings are only available on the [Premium](https://nextgis.com/pricing-base/) subscription plan.

## Web GIS name

It’s the title displayed next to the logo on the top bar of the page. By default it’s the same as the Web GIS URL, but it can be changed.

![image](docs_ngweb/source/_static/webgis_name_default_en.png)![image](docs_ngweb/source/_static/webgis_name_custom_en.png)

<a id="ngw-fonts"></a>

## Font management

NestGIS Web allows to upload custom fonts in addition to system ones.

To open the font management page, go to the Main menu, open the Control panel and in the Settings section select “Font management”. If no additional fonts have been uploaded, the list is empty.

To view the pre-installed fonts, tick “Show system fonts”.

![image](docs_ngweb/source/_static/font_manag_en.png)

On this page you can view the list of system and custom fonts, upload or delete custom fonts.

<a id="ngw-fonts-add"></a>

### How to add a font

Users can add custom fonts.

#### IMPORTANT
The font must be used as labels in the appropriate QGIS style for the layer to which you want to apply this font. More about [labels](https://docs.qgis.org/3.34/en/docs/training_manual/vector_classification/label_tool.html) in QGIS.

Technical requirements:

* TTF or OTF format;
* File size up to 10MB;
* Filename only has basic latin characters, numbers, underscore (_) and dash (-).

To add a custom font, on the Font management page press **Upload** and select the font file from your device.

![image](docs_ngweb/source/_static/font_upload_en.png)

To install the font the Web GIS needs to restart. Make sure there are no ongoing requests, restarting Web GIS aborts them.

![image](docs_ngweb/source/_static/font_upload_refresh_alert_en.png)

Press **Ok** to complete font uploading.

After the installation is complete, the new font will appear in the list, marked as “Custom”.

![image](docs_ngweb/source/_static/font_upload_result_en.png)

See the process in our video:

<iframe width="560" height="315" src="https://www.youtube.com/embed/4TFxD9hz9i8?si=jVYizefJ7TTXmZCd" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Watch on [youtube](https://youtu.be/4TFxD9hz9i8?si=jYtMc9kM1h4B_8hV).

<a id="ngw-fonts-del"></a>

### How to delete a custom font

Only custom fonts added by users can be deleted.

To delete a font, go to Font management page of the Control panel. Tick the font you’d like to delete.

Press **Delete**. While deleting a font, as while installing one, Web GIS needs to be restarted.

![image](docs_ngweb/source/_static/font_delete_en.png)

<a id="ngweb-css-logo"></a>

## Upload a logo

You can change the upper-left logo (present on all pages), you can’t change the Web map logo (lower right).

To upload a logo choose Custom logo on control panel (see item 1 in [Fig. 311.](admin_interface.html.md#admin-index-pic)) and in opened window upload a file in PNG format with height up to 45 px, width up to 200 px. Then press “Save”.

<a id="ngw-css"></a>

## Customize the design with CSS

You can modify the look of NextGIS Web using CSS.
From the main menu (see [Fig. 311.](admin_interface.html.md#admin-index-pic)) open the Control Panel (see [Fig. 312.](admin_interface.html.md#ngweb-main-page-main-menu-pic)).
In the Control Panel (see [Fig. 318.](admin_interface.html.md#admin-control-panel)) select **Custom CSS** in the Settings section.
Here you can enter your own [CSS](../../glossary.html.md#term-CSS) rules. They will be used throughout your Web GIS on all its pages.

## Custom CSS examples

### Change main Web GIS color

Affects header, symbols in the header, buttons, field contours, links highlighted on hover etc.

```css
:root {
--primary: red
}
```

### Change main font color

Affects menu, name and parameters of displayed resource group etc.

```css
:root {
--text-base: #ff6600
}
```

### Change additional font color

Affects paths for the displayed resource, parameters etc.

```css
:root {
--text-secondary: rgb(40 200 40 / .8)
}
```

<a id="ngw-css-selection"></a>

### Change selection color

By default, the selected feature is highlighted in yellow.

```css
:root {
   --ngw-webmap-selection-color: red;
}
```

<a id="ngw-res-export"></a>

## Hide resource export

To hide the ability to export data from Web GIS from certain categories of users, you need to:

* Go to Control Panel -> Settings -> Resource export
* Select the type of users that **will be able** to export data (only administrators / users with [Data:Read](Data:Read) or [Data:Modify](Data:Modify) permissions)

Users who do not fit the selected list will not see the “Save as” link in the interface.

![image](docs_ngweb/source/_static/admin_system_res_export_en_2.png)![image](docs_ngweb/source/_static/action_panel_export_en.png)

The categories of users you can select to have access to “Save as” action:

- administrators

or users with the permission to:

- Read data
- Modify data

All other users will not be able to save data from the Web GIS interface.

More on how to set up permissions to read and modify data [here](https://docs.nextgis.com/docs_ngcom/source/permissions.html).

#### NOTE
This setting does not in any way affect the ability to receive data through the [REST API](https://docs.nextgis.com/docs_ngweb_dev/doc/developer/toc.html) in accordance with the set [permissions](https://docs.nextgis.com/docs_ngweb/source/permissions.html) to them.

<a id="ngw-homepage"></a>

## How to change the homepage address

By default the starting page of your Web GIS is the main resource group page (`/resource/0`). The starting page is the page that gets open first wherenever some visit your Web GIS or clicks on the logo in top left corver.

You can change which page will be opened first to any other resource of the system. For example, if you’d like your visitors to always start from a map, you can change this setting to this map.

1. Sign in as the user with administrative privileges and open Control panel, then select Home path.
2. Enter path to the resource page that should be opened first when you Web GIS is accessed. For example: `/resource/644/display`

After making this setting visiting `http://yourwebgis.nextgis.com` will open not the main resource contents page, but the page you’ve set up. To access main resource content page after this setting you will need to go directly to: `http://yourwebgis.nextgis.com/resource/0`.
