---
title: "Site settings: Further configuration options"
manual: "Site Package Tutorial"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3sitepackage:site-sets-configuration@main"
source: "SiteSets/Index.rst"
rendered: "2026-09-24T15:01:46+00:00"
---

# Site settings: Further configuration options {#site-sets-configuration}

In step [Minimal site package - Create a basic site
set](https://docs.typo3.org/permalink/t3sitepackage:minimal-extension-siteset@main) we created a basic site set for
our site package.

**Table of Contents**

-   [The site set](https://docs.typo3.org/permalink/t3sitepackage:the-site-set@main)
-   [Introduce site settings to configure fluid-styled-content](https://docs.typo3.org/permalink/t3sitepackage:introduce-site-settings-to-configure-fluid-styled-content@main)

-   [Usage in Fluid](https://docs.typo3.org/permalink/t3sitepackage:how-to-use-settings-as-variables-in-templates@main)

## The site set {#site-set}

In step [Create a basic site set](https://docs.typo3.org/permalink/t3sitepackage:minimal-extension-siteset@main)
we already created a basic site set for your site package.

In step [Include the site sets of fluid-styled-content as
dependency](https://docs.typo3.org/permalink/t3sitepackage:content-mapping-site-set@main) we included the
dependencies to the site sets of [`typo3/cms-fluid-styled-content`](https://packagist.org/packages/typo3/cms-fluid-styled-content).

Your site set configuration should now look like this:

**packages/my_site_package/Configuration/Sets/SitePackage/config.yaml**

```yaml
name: t3docs/site-package
label: 'Site Package'
dependencies:
  - typo3/fluid-styled-content
  - typo3/fluid-styled-content-css

```

Line 1 defines the name of the set. As the example site-package extension only
provides one set, the name of the set should be the same as the
[composer name](https://docs.typo3.org/permalink/t3sitepackage:extension-configuration-composer@main).

In line 4 and 5 dependencies are defined. In this example the site package
depends on [`typo3/cms-fluid-styled-content`](https://packagist.org/packages/typo3/cms-fluid-styled-content), therefore the sets
provided by this system extension are included as dependency. By doing so all
settings and TypoScript definitions provided by the extension are automatically
included.

Your site set folder now contains the following files:

-   my_site_package/Configuration/Sets/SitePackage
    -   config.yaml
    -   page.tsconfig
    -   setup.typoscript

## Introduce site settings to configure fluid-styled-content {#site-settings}

Place a file called `settings.yaml` in the folder
`Configuration/Sets/SitePackage`.

We override some default settings of the site set
[Site set "Fluid Styled
Content"](https://docs.typo3.org/c/typo3/cms-fluid-styled-content/main/en-us/Configuration/Sets/FluidStyledContent.html#site-set-fluid-styled-content):

**packages/my_site_package/Configuration/Sets/SitePackage/settings.yaml**

```yaml
styles:
  templates:
    layoutRootPath: EXT:site_package/Resources/Private/ContentElements/Layouts
    partialRootPath: EXT:site_package/Resources/Private/ContentElements/Partials
    templateRootPath: EXT:site_package/Resources/Private/ContentElements/Templates
  content:
    textmedia:
      maxW: 1200
      maxWInText: 600
      linkWrap:
        lightboxEnabled: true
        lightboxCssClass: lightbox

```

Here we override some values for maximal image width in text-media content
elements, we enable a lightbox for images and set paths for overriding the
templates of that extension.

Settings can also be used in conditions:
[Check if a setting/constant is set to a certain value](https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Conditions/Index.html#condition-examples-constant).
