# Intrdouction

Welcome to PlanetStyles Documentation.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f3c3">🏃</span> Getting started</td><td></td><td></td><td><a href="/getting-started/how-to-install-our-phpbb-themes">Getting started</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f6e0">🛠️</span> Troubleshooting</td><td></td><td></td><td><a href="/troubleshooting/theme-not-showing-in-install-styles-list">Troubleshooting</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f95b">🥛</span> Milk theme features</td><td></td><td></td><td><a href="/feature-guides/milk-theme">Milk theme</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4e7">📧</span> Contact us</td><td></td><td></td><td><a href="https://themeforest.net/item/milk-multipurpose-responsive-phpbb-31-theme/16119149/support">https://themeforest.net/item/milk-multipurpose-responsive-phpbb-31-theme/16119149/support</a></td></tr></tbody></table>


# How to install our phpBB themes

There are 2 steps to complete in order to install our phpBB themes:

1. Install the theme (front-end design)
2. Install the control panel extension (configures colours and features)

***

### Uploading the theme files:

Here we use our Milk theme as an example

1. Download the theme files
2. Extract to your desktop
3. Open the folder corresponding to the phpBB version you're using
4. Open folder **1. Theme Files**
5. Using a file manager, upload **Milk\_v2.zip** to `yourforum.com/styles/`
6. Extract it in that location. Your file tree should look like this:\
   ![](https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FpIXNKczq6uSy6aTj4hK3%2Fimage.png?alt=media\&token=763f1470-d345-442e-bc3b-8a16b0b403b1)\
   Note: Your "styles" folder should contain "Milk\_v2", which contains "theme", "template" and "style.cfg"
7. Delete the Milk\_v2.zip file from your file system

***

### Enabling the theme:

1. Navigate to: ACP (Admin Control Panel) → "Customise" (tab)
2. In the left sidebar, click "Install Styles"
3. Locate the theme
4. Click "Install style"
5. Confirm


# How to install phpBB extensions

All of our themes come with at least one extension, which is used to configure colours and features.

***

### Uploading the extension files

Here we use our Milk theme's flightdeck extension as an example

1. Download the theme files
2. Extract to your desktop
3. Open the folder corresponding to the phpBB version you're using
4. Open folder **2. Extension Files**
5. Using a file manager, upload **ext/planetstyles.zip** to `yourforum.com/ext/`
6. Extract it in that location. Your file tree should look like this:&#x20;

   ![](https://web.archive.org/web/20230604073058im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e80b41904286364bc977400/file-0GCCXt11zD.jpg)\
   Note: Your forum's "ext" folder should contain a "planetstyles" folder, which contains a "flightdeck" folder. The full file path you should be able to see is:

   `yourforum.com/ext/planetstyles/flightdeck/`
7. Delete "planetstyles.zip" from your file system

***

### Enabling the extension

1. Navigate to ACP (Admin Control Panel) → "Customise" (tab)
2. In the left sidebar, click "Manage extensions"
3. In the table, below "Disabled extensions", locate: PlanetStyles Flight Deck
4. Click "Enable"
5. Confirm

The control panel can now be accessed in ACP → "Extensions" (tab)


# How to update theme to new version

We periodically release theme updates to add functionality, fix bugs, or keep up to date with the most recent phpBB version.

The update method depends on whether you have edited the theme files or not.

### I have not edited the theme files:

1. Re-download the theme from Themeforest (this will get the most recent version)
2. Extract to your desktop
3. Copy the new theme files
4. Overwrite the existing theme files in your phpBB installation
5. [Purge cache](/getting-started/how-to-purge-cache)

{% hint style="info" %}
You might also need clear your browser cache&#x20;
{% endhint %}

***

### I have edited the theme files:

1. Re-download the theme from Themeforest (this will get the most recent version)
2. Extract to your desktop
3. Use a software such as BeyondCompare to identify the changes your made&#x20;
4. Note them down
5. Copy the new theme files
6. Overwrite the existing theme files in your phpBB installation
7. Re-implement the changes you made
8. [Purge cache](/getting-started/how-to-purge-cache)

{% hint style="info" %}
You might also need clear your browser cache&#x20;
{% endhint %}


# How to update extension to new version

We periodically release extension updates to add functionality, fix bugs, or keep up to date with the most recent phpBB version.

### Updating an extension:

1. Navigate to: ACP (Admin Control Panel) → "Customise" (tab)
2. In the left sidebar, click "Manage extensions"
3. Disable the extension (there is no need to click Delete data)
4. Re-download the theme from Themeforest (this will get the most recent version)
5. Extract to your desktop
6. Copy the new extension files
7. Overwrite the existing extension files in your phpBB installation
8. Go back to ACP → Customise → Manage Extensions
9. Click "Enable" next to the extension


# How to edit code files

In some cases if you ask us to fix a bug or make a tweak, we might provide you with instructions which require editing a code file.

### Edit using file manager

1. Log into your hosting control panel (Often called cPanel)
2. Open the file manager
3. Navigate to the file you want to edit
4. Click "Code editor" or "Edit"
5. Save
6. Purge cache

***

### Edit using FTP client

1. Open your FTP client (such as FileZilla)
2. Connect to your server
3. Navigate to the file you want to edit
4. Download it
5. Edit the file on your computer, you can use a code editor such as Notepad++, VS Code, Atom etc...
6. Save the file
7. Re-upload using your FTP client
8. Purge cache


# How to purge cache

Normally after editing a code file in phpBB, you will need to purge the cache. This will clear any cached template files and allow the changes you made to take effect.&#x20;

### Purging the cache

1. Navigate to ACP (Admin Control Panel) → "General" (tab)
2. Scroll down
3. Below Resynchronise or reset statistics, find "Purge the cache"
4. Click "Run now"

***

### I don't see "purge cache"

In some cases, you might see this screen instead:

![](https://web.archive.org/web/20230326180838im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e80c2c82c7d3a7e9ae9fd13/file-lzqjyfyivR.png)

1. Untick "Enable" checkbox below "VigLink" (optional)
2. Click "Submit"
3. Follow the steps above


# How to set new theme as default

After installing your theme, you might want to set it to default, and / or force users onto the new theme.

### Setting theme to default

1. Browse to: ACP (Admin Control Panel) → "General" (tab)
2. In the left sidebar, click "Board settings"
3. Scroll down to "Board style"
4. Set "Default style" to your preferred theme
5. Submit

***

### Force users onto new theme

If you have multiple styles installed, your users will remain on their currently-selected theme, even after setting a new default.&#x20;

To overcome this (if you want to), it is necessary to force users onto the new theme.

1. Browse to: ACP (Admin Control Panel) → "General" (tab)
2. In the left sidebar, click "Board settings"
3. Scroll down to "Board style"
4. Set "Override user style" to "Yes"
5. Submit

{% hint style="info" %}
If you only wanted to force your new users onto the new theme, but still want to let them switch to a different theme after, you can disable this option again afterwards.
{% endhint %}


# How to add your own code to our themes

In some cases you might want to add your own code, as such as advertising or analytics tracking. Advanced users might want to adjust our native CSS or add their own markup.

### Adding code to \<head>

Our Milk and H2O theme control panels can add global \<head> code through the ACP.

1. In ACP → Extensions → Theme Settings
2. Enter your code into Global \<head> Code
3. Submit

***

### Adding sidebar code

See:

* Milk: Sidebar options (link needed)
* H2O: Sidebar options (link needed)

***

### Adding new code by manual editing

If you are only making a few small changes, you can add your own code by modifying the theme's HTML and CSS files.

These are located in:

```
yourforum.com/styles/your_theme/theme/
yourforum.com/styles/your_theme/template/
```

See: [How to edit code files](/getting-started/how-to-edit-code-files)

{% hint style="info" %}
Using this method, you might lose the changes you make when [updating the theme](/getting-started/how-to-update-theme-to-new-version).
{% endhint %}

***

### Adding new code in other locations

It is recommended to check phpBB's official [extension database](https://web.archive.org/web/20230604062106/https://www.phpbb.com/customise/db/extensions-36), as the functionality you're looking for might already be available as a pre-packaged extension.&#x20;

For larger and more substantial changes, send us a message. We'll discuss the scope of the changes you'd like to make, and suggest the best method of implementation.


# Theme not showing in "install styles" list

### Problem

Some users report that their theme is not showing up on the "Install styles" page after upload.

### Cause

The files have been uploaded incorrectly, or to the wrong location.

### Solution

Ensure the files have been uploaded to the correct location. The file path should be:

```
yourforum.com/styles/your_theme/
```

`/your_theme/` should contain 2 folders ("theme and "template") and 1 file "style.cfg"


# Extension not showing in "manage extensions"

### Problem

Some users report that the Flightdeck extension is not showing up on the "Manage extensions" page after upload.

### Cause

The files have been uploaded incorrectly, or to the wrong location.

### Solution

Ensure the files have been uploaded to the correct location. The file path should be:

```
yourforum.com/ext/planetstyles/flightdeck/
```

`/flightdeck/` should contain 8 folders and 1 file named "composer.json"


# Unable to find template "ajax.js"

### Problem

Some users report seeing this error message after installation:

```
Fatal error: Uncaught Twig\Error\LoaderError: Unable to find template "ajax.js"
```

### Cause

Our themes inherit any unmodified template files from prosilver. If prosilver is removed from the file system, it will return this error message.&#x20;

### Solution

Ensure that prosilver's theme files are uploaded correctly in the following location:

```
yourforum.com/styles/prosilver/
```


# HTTP error 500

### Problem

A small minority of users report seeing this error message after installation:

```
HTTP ERROR 500
```

### Cause

Our indications suggest this is caused by one-click phpBB installers provided by web hosting companies.&#x20;

### Solution

If you used a one-click installer, try re-installing phpBB manually.&#x20;

For other cases: please message us with the following information:

* The version of PHP running on your server
* The version of phpBB you have installed
* A copy of your server error log (if possible)
* Any other information that might be useful (such as any other installed extensions)

Your web host might also be able to identify the specific issue on their end.


# No colours are showing up

### Problem

Some users report seeing no colour after installation:

![](https://web.archive.org/web/20221003165538im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e81f1742c7d3a7e9aea0766/file-U9QmdVSJCf.png)

### Cause

An accent colour has not been chosen in the control panel extension.

### Solution

Install the control panel extension and select an accent colour.&#x20;


# Advance BBCode box on Milk theme

### Problem

Some features of the Advance BBCode box extension (available separately) don't work in the Milk theme.

### Cause

A z-index layering issue in Milk. The extension is working as intended, but hidden behind Milk's white background wrapper.

### Solution

You can remedy the problem by following these steps:

Open: /styles/milk\_v2/theme/common.css

Find:

```
.darken {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
```

Remove

`position: fixed;`&#x20;

Save changes, then purge cache.

* [How to purge cache](/getting-started/how-to-purge-cache)
* [How to edit code files](/getting-started/how-to-edit-code-files)


# "missing style.css stylesheet"

### Problem

The following error is shown on install:

> The package could not be installed. The theme is missing the style.css stylesheet

### Cause

This is a Wordpress error message. Our themes our only compatible with phpBB forum software, they aren't comptible with Wordpress.&#x20;


# Milk theme

Use the menu on the left to discover Milk theme features.&#x20;


# Milk: Favicon

### Favicon output

The favicon is output in the browser tab. Some browsers all show it in the bookmarks toolbar.&#x20;

![](https://web.archive.org/web/20230326185248im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e81ec922c7d3a7e9aea071c/file-d7YOc3R8lQ.png)

***

### Upload or change favicon

1. Open the control panel extension
2. Next to "Favicon upload", click "Browse"
3. Select the favicon file from your computer or device (you can use any image format)
4. Submit

***

### Remove favicon

1. Open the control panel extension
2. Find "Favicon image location"
3. Delete the file path from the box
4. Submit


# Milk: Logo

### Logo output

The logo will be output in the main header area, above the site name and description:

![](https://web.archive.org/web/20230604065727im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e81e83f2c7d3a7e9aea06d1/file-b7YiaOjBVe.png)

***

### Upload or change logo

1. Open FlightDeck extension (control panel)
2. Next to "Logo image upload", click "Browse"
3. Select the logo file from your computer or device
4. **Optional:** Enter height and width
5. Submit

***

### Remove logo

The logo can be removed by changing the 'header format' option to "Sitename and description only".&#x20;

***

### Logo position

1. Open FlightDeck extension (control panel)
2. Set "Logo position" option to "Left", "Right" or "Middle"
3. Click Submit


# Milk: Header background

### Header location

The header is located at the top of every page.

By default its background colour will inherit the accent colour you have chosen.

![](https://web.archive.org/web/20230604071624im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e81eff52c7d3a7e9aea074e/file-BFq5SS6duB.jpg)

***

### Upload or change header background image

1. Open FlightDeck extension (control panel)
2. Next to "Header background upload" , click "Browse"
3. Select your header image file from your computer or device
4. Click Submit

***

### Remove header background image

1. Open the FlightDeck extension (control panel)
2. Find "Header image location"
3. Delete the file path from the box
4. Submit

***

### Header options

The following options are configured in the FlightDeck control panel:

| Option name                                                                                                                                                                                                                       | Values                                                                                                                                                                                                                                     | Output                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Header background repeat</strong><br><br>Defines whether the header background image will repeat, and along which axis / axes.</p><p></p><p>Not applicable if the stretch or parallax options (below) are enabled.</p> | repeat-x                                                                                                                                                                                                                                   | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F8jfrAcBxgMdDkW3nT87d%2Fimage.png?alt=media&amp;token=4dfd5152-08c8-44c8-bc65-62de74cc403e" alt="" data-size="original"> |
|                                                                                                                                                                                                                                   | repeat-y                                                                                                                                                                                                                                   | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F6Umncj1PehIBa4weWbRa%2Fimage.png?alt=media&amp;token=4b6dd36e-fc0c-4ee6-926e-f9c9cdb52ce9" alt="" data-size="original"> |
|                                                                                                                                                                                                                                   | repeat                                                                                                                                                                                                                                     | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F1pgWmI9PLIvujJErnzvD%2Fimage.png?alt=media&amp;token=f2aa8696-e34f-4b74-97f1-673516e653ab" alt="" data-size="original"> |
|                                                                                                                                                                                                                                   | no-repeat                                                                                                                                                                                                                                  | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| <p><strong>Header Background Position</strong><br><br>Sets the header background starting position.<br></p><p>Not applicable when the parallax option (below) is enabled.</p>                                                     | <ul><li>left top \[1]</li><li>left center \[2]</li><li>left bottom \[3]</li><li>center top \[4]</li><li>center center \[5]</li><li>center bottom \[6]</li><li>right top \[7]</li><li>right center \[8]</li><li>right bottom \[9]</li></ul> | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| <p><strong>Stretch header to background to fill space</strong><br><br>Automatically resizes and scales the background image to fill all available space.</p>                                                                      | No                                                                                                                                                                                                                                         | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   | Yes                                                                                                                                                                                                                                        | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| <p><strong>Header Background Overlay</strong><br><br>Overlay that goes over the header background image.</p>                                                                                                                      | None                                                                                                                                                                                                                                       | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   | Colour Overlay                                                                                                                                                                                                                             | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   | Darken                                                                                                                                                                                                                                     | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| <p><strong>Parallax Header</strong><br><br>Subtly moves the header background when scrolling.</p><p><br>Note: Requires the background image to be taller than the visible header space<br></p>                                    | No                                                                                                                                                                                                                                         | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   | Yes                                                                                                                                                                                                                                        | \[image needed]                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
|                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| <p><strong>Animated Header Particles</strong><br><br>Enables an animated geometric overlay across the header.</p>                                                                                                                 | No                                                                                                                                                                                                                                         | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2Fdmj6ChZ9gwarB4e8qRaN%2Fimage.png?alt=media&amp;token=1aa67aa1-3814-488d-8273-1b4ee8819c42" alt="" data-size="original"> |
|                                                                                                                                                                                                                                   | Yes                                                                                                                                                                                                                                        | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FDPmtjpVlZRiW4ofKLEq4%2Fimage.png?alt=media&amp;token=dbe2aa90-2199-490d-be68-27a394efa807" alt="" data-size="original"> |


# Milk: Navbar position

Milk's navbar is located at the top of every page (with the exception of login pages).&#x20;

### Navbar positions

There are 2 possible navbar positions in Milk:

| Option name                                                                                                  | Values         | Output                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------ | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Navbar position</strong><br><br>Defines where the navbar is located in relation to the header</p> | Outside Header | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F8CebfeNosj4zCzW3EvsB%2Fimage.png?alt=media&amp;token=8df0cb01-e02d-46d7-b4e1-28808fc22fca" alt="" data-size="original"> |
|                                                                                                              | Inside Header  | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F6cnId0gkQWgT7huUngJS%2Fimage.png?alt=media&amp;token=11b4bc16-bb06-45e5-b21b-0667834b6bb4" alt="" data-size="original"> |

***

### Changing navbar position

1. Open the FlightDeck extension (control panel)
2. Find "Navbar position"
3. Set as required
4. Submit


# Milk: Font options

### Pre-installed fonts

Milk comes pre-installed with the following fonts:

* Roboto (Default)
* Roboto Slab
* Bubbler One
* Dosis
* Exo 2
* Raleway
* Rubik
* Quicksand

***

### Changing font face

1. Open Flighteck extension (control panel)
2. Find "Font"
3. Set as desired
4. Submit

***

### Changing font sizes

Milk doesn't currently have a FlightDeck option for scaling options (maybe soon).

In the meantime, font sizes can be adjusted manually:

1. Open:  `yourforum.com/styles/Milk_v2/template/overall_header.html`
2. Find:<br>

   ```
   <style type="text/css">body {font-family: "Roboto Slab", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
   	
   ```
3. Nearby, locate the font whose size you want to change
4. Reduce the font-size value. All fonts scale relative to this value.&#x20;

See: [How to edit code files](/getting-started/how-to-edit-code-files)

***

### Adding a new font face

In this example we will add Montserrat as a new font option to FlightDeck.

#### 1. Add flightdeck switch

1. Open: `yourforum.com/ext/planetstyles/flightdeck/styles/styles_config.json`
2. Find:<br>

   ```
   "Font": {
   	"name": "font_family",
   	"type": "list",
   	"help": "Set the font face. Previews can be found in description'<br />Default: Roboto.",
   	"values": [
   		"Roboto",
   		"Roboto Slab",
   		"Bubbler One",
   		"Dosis",
   		"Exo 2",
   		"Raleway",
   		"Rubik",
   		"Quicksand"
   	]
   },
   	
   ```
3. Add "Montserrat" on a new line, respecting the JSON formatting rules. Eg:<br>

   ```
   "Font": {
   	"name": "font_family",
   	"type": "list",
   	"help": "Set the font face. Previews can be found in description'<br />Default: Roboto.",
   	"values": [
   		"Roboto",
   		"Roboto Slab",
   		"Bubbler One",
   		"Dosis",
   		"Exo 2",
   		"Raleway",
   		"Rubik",
   		"Quicksand",
   		"Montserrat"
   	]
   },
   	
   ```
4. Save and upload file

#### 2. Building the font family

1. Find the font you want to use on [Google Fonts](https://web.archive.org/web/20230604061736/https://fonts.google.com/)
2. Click "+ Select this style" next to the following fonts weights: 300, 400, 500, 600
3. Click "Embed"&#x20;

   ![](https://web.archive.org/web/20230604061736im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e9a4b6704286364bc9894ef/file-D3LeoRk0jj.png)
4. Keep this information handy

#### 3. Integrating into Milk's front-end

1. Open: yourforum.com/styles/Milk\_v2/template/overall\_header.html
2. Find:<br>

   ```
   <!-- ELSE -->
   	<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
       <style type="text/css">body {font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
   <!-- ENDIF -->
   	
   ```
3. On a new line, before the `<!-- ELSE -->` , add the references to the Montserrat font (using the 'Embed' information in the earlier steps as a reference):<br>

   ```
   <!-- ELSEIF STYLE_SETTINGS_CONFIG_FONT_FAMILY == "Montserrat" -->
   	<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap" rel="stylesheet">
   	<style type="text/css">body {font-family: 'Montserrat', sans-serif; font-size: 14px;}</style>
   	
   ```

#### 4. Repeat all steps for overall\_header\_simplified.html

This is used on login pages.

#### 5. [Purge cache](/getting-started/how-to-purge-cache)

There is no need to re-install the FlightDeck extension


# Milk: Layout width

Milk has 2 available layout widths. This option controls the width of the white background container and navbar links.

| Option name                                                                  | Values                            | Output                                                                                                                                                                                                                                                    |
| ---------------------------------------------------------------------------- | --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Layout type</strong><br><br>Defines the content wrapper width</p> | <p>Fluid</p><p>(95% width)</p>    | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FBIMHl2dwwzuQWkIdAKwF%2Fimage.png?alt=media&amp;token=a03e2bb7-fbf5-4f64-8aed-8631334e02a7" alt="" data-size="original"> |
|                                                                              | <p>Boxed</p><p>(1200px width)</p> | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FOvHuQ3cj3VEV4kS12Dib%2Fimage.png?alt=media&amp;token=0a53c14e-0ce5-46b2-a25b-64a4e47a7f82" alt="" data-size="original"> |

***

### Changing the layout width

1. Open the FlightDeck extension (control panel)
2. Find "Layout type"
3. Set as required
4. Submit

***

### Adjusting the width values

The **fluid** width is defined in: `yourforum.com/styles/Milk_v2/theme/merlin.css`

```
.body-layout-Fluid #inner-wrap {
    width: 95%;
    margin: 0 auto;
}
```

The **boxed** width is defined in: `yourforum.com/styles/Milk_v2/theme/responsive/large-desktops.css`

```
    /* Fix the body layout for large desktop devices */
    .body-layout-Boxed .wrap {width: 1200px;}
```

See: [How to edit code files](/getting-started/how-to-edit-code-files)

***

### Responsive layout information

* Fluid layout is only applicable to viewports above 1200px width (unless changed manually, as above)


# Milk: Light / dark options

By changing the base colour, you can choose whether your forum is light or dark in appearance.&#x20;

### Base colour previews

| Option name | Output                                                                                                                                                                                                                                                    |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Light       | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2Fp4waUx9NgkG4Pr52j0J1%2Fimage.png?alt=media&amp;token=1dadff52-ca7a-4817-a1a1-9fb1193bd579" alt="" data-size="original"> |
| Dark        | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FnoPlqIQZ6ZYtbejvA4mN%2Fimage.png?alt=media&amp;token=c8b24d9c-0e7b-4c91-a0e6-40884e441ab8" alt="" data-size="original"> |

***

### Choosing the base colour

1. Open the FlightDeck extension (control panel)
2. Find "Theme base colour"
3. Set as required
4. Submit

***

### Modifying the dark stylesheet

If you want to modify the dark stylesheet, the colour values are stored in: `yourforum.com/styles/Milk_v2/theme/colours_dark.css`

See: [How to edit code files](/getting-started/how-to-edit-code-files)


# Milk: Accent colour options

Milk allows you to either use a gradient preset colour scheme, or choose your own accent using a colour picker.

### Colour scheme previews

| Option name                                                                                                                                                                                                                                           | Output                                                                                                                                                                                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Custom<br><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FE4czLwdo6QfBot5v2Zao%2Fimage.png?alt=media&amp;token=b5565ae4-a71c-499f-845a-695122472b23" alt=""></p> | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FN3a9Y4CVxgTqJ707Tm9E%2Fimage.png?alt=media&amp;token=80109cf4-f28e-4bbc-a6aa-46ee41ac22c7" alt="" data-size="original"> |
| Aqua                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                           |
| Blush                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                           |
| Blue Lagoon                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                           |
| Calm Darya                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| Electric Violet                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                                           |
| HoneyDew                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                           |
| Hot Red                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                           |
| Ibiza Sunset                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |
| Little Leaf                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                           |
| Neon Blue                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                           |
| Nighthawk                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                           |
| Pacific Dream                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                           |
| Pach                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                           |
| Purple Love                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                           |
| Rose Water                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                           |
| Sahara                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                           |
| Titanium                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                           |
| Warm Sunset                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                           |

***

### Choosing a preset colour scheme

1. Open the FlightDeck extension (control panel)
2. Find "Theme preset colour"
3. Set as required
4. Submit

***

### Setting your own accent colour

1. Open the FlightDeck extension (control panel)
2. Set "Theme Preset Colour" to **"Custom (use colour picker below)"**
3. On the row below, set "Theme Accent Colour" to a colour of your choice, or enter a [hexadecimal colour value](https://www.rapidtables.com/web/color/html-color-codes.html):<br>

   ![](https://web.archive.org/web/20230326174415im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e9c388a04286364bc989b90/file-FVMldT1V2R.png)
4. Submit

***

### Adding or modifying a preset gradient

Rather than add a new gradient switch to FlightDeck, it is easier to modify the stylesheet for a theme preset you don't like.&#x20;

In this example we'll modify the "Pacific Dream" stylesheet.&#x20;

1. In FlightDeck, select the `Pacific_Dream` preset&#x20;
2. The colour definitions are stored in: `yourforum.com/styles/Milk_v2/theme/colour-presets/Pacific_Dream.css`
3. Modify the colour and gradient values as desired

We recommend using a CSS3 gradient generator such as [cssgradient.io](http://cssgradient.io) to automatically generate new code for your own gradient.&#x20;

See: [How to edit code files](/getting-started/how-to-edit-code-files)

***

### Unreadable footer links

Some custom presets might cause the footer links to blend into the background. This can be remedied by enabling the **"High contrast footer links"** option in FlightDeck.


# Milk: Forum list options

There are 3 forum list display options in Milk.&#x20;

### Forum list options

| Option name                                                                                                        | Output                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>List</strong><br><br>Traditional forumlist</p>                                                          | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FM71GINykw9lpd4XXQaeb%2Fimage.png?alt=media&amp;token=3a205cb1-a4ed-46fd-b0e7-578f7719c194" alt="" data-size="original"> |
| <p><strong>List (Simplified)</strong><br><br>List with 'topics' column removed and double-width 'posts' column</p> | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FouOhw4hb5JdmlMIALuZX%2Fimage.png?alt=media&amp;token=6093d387-5a3b-43eb-b6c4-0f135d6344cc" alt="" data-size="original"> |
| <p><strong>Grid</strong><br><br>Forum tiles with an assigned icon or background image</p>                          | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2Fu6IpPArsKdfvqgfU4ka9%2Fimage.png?alt=media&amp;token=69ccb9dd-9999-43f0-81a5-68115e387025" alt="" data-size="original"> |

### Changing the forumlist display

1. Open the FlightDeck extension (control panel)
2. Find "Forumlist Display"
3. Set as required
4. Submit

***

### Assigning images to grid tiles

You can assign an icon or image background to a grid tile by using phpBB's native "forum image" feature.

1. Using a file manager, upload the image(s) you want to use to the following location: `yourforum.com/images/grid/`\
   (You will probably need to create the new folder called "grid")
2. Navigate to: ACP (Admin Control Panel) → "Forums" (tab)
3. In the left sidebar, click "Manage forums"
4. Next to the forum you want to add the image to, click the green "Settings" icon&#x20;

   <div align="left"><img src="https://web.archive.org/web/20230604080211im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e9c59eb2c7d3a7e9aeb369a/file-v24pjoaHC8.gif" alt=""></div>
5. In the "Forum image" field, type the full path to the image you want to use.

The path is relative to your phpBB installation, so you don't need to include the domain name in the image path. For example: If your image is located in

`yourforum.com/images/grid/forum_1_background.jpg` , you only need to enter: `images/grid/forum_1_background.jpg`

***

### Using a full-size grid tile background

There are 2 display options for grid forum images:

| Option name                                | Value | Output                                                                                                                                                                                                                                                    |
| ------------------------------------------ | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Fill grid tiles with background image?** | Yes   | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F8nmtgQOjT210ofQhiiSL%2Fimage.png?alt=media&amp;token=eaf06299-0b14-463b-9ae6-26477314cb70" alt="" data-size="original"> |
|                                            | No    | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2Fm8H9x9I6fUWIjTggqQtu%2Fimage.png?alt=media&amp;token=430fda70-3fee-445c-80a5-d5f757912ff0" alt="" data-size="original"> |

This option can be enabled in the FlightDeck extension, directly below the "Forumlist display" option.

***

### Responsive layout information

* When the list or list (simplified) option is selected, a dedicated responsive view will load for users browsing on small devices. This doesn't affect the grid template, as this automatically scales
* When the list or list (simplified) option is selected, the 'topics' column will be hidden on narrow tablets such as iPads in portrait orientation


# Milk: Content block headers

Content block headers precede certain content containers, such as categories and sidebar sections.&#x20;

### Content block headers

| Option name | Output                                                                                                                                                                                                                                                    |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Stripe      | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FApCusI6PoKCL1Niw2pm6%2Fimage.png?alt=media&amp;token=40f44ed1-0e4c-403f-8af0-3800d5020c51" alt="" data-size="original"> |
| Block       |                                                                                                                                                                                                                                                           |

### Choosing the block header

1. Open the FlightDeck extension (control panel)
2. Find "Content block headers"
3. Set as required
4. Submit

<br>


# Milk: Sidebar options

Milk comes with powerful and intelligent sidebars that can be used for showcasing your custom content.&#x20;

**Left sidebar:** 120px\
**Right sidebar:** 300px

### Sidebar options

<table><thead><tr><th width="276">Option name</th><th width="156">Value</th><th>Output</th></tr></thead><tbody><tr><td><strong>Enable Sidebars?</strong></td><td>Yes</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2Friju7gRsLf1Vgde53yQD%2Fimage.png?alt=media&amp;token=b11cfefd-9280-4228-816f-88651b411d44" alt="" data-size="original"></td></tr><tr><td></td><td>No</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FQ7zTtlMRgxh7WJ3LNIaP%2Fimage.png?alt=media&amp;token=36a262c2-4bc6-49ca-ba48-790ba9cb2734" alt="" data-size="original"></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>Sidebar Placement</strong></td><td>Left only</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2Fs3lqfm3GWM4sugoRAyzr%2Fimage.png?alt=media&amp;token=0ec3f9f4-6d2f-4820-9b96-7843daee7f75" alt="" data-size="original"></td></tr><tr><td></td><td>Right only</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F5amCQlCQLrk1YqylG4oQ%2Fimage.png?alt=media&amp;token=c44a3820-9b1f-4895-bd11-6af1c2db50ae" alt="" data-size="original"></td></tr><tr><td></td><td>Both</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FqyJjXT4XBPTOq7RBVt4q%2Fimage.png?alt=media&amp;token=9aecccaf-f2f8-434c-be7e-62529c0545ae" alt="" data-size="original"></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>Enable Sidebar Profile Widget</strong><br><br>Shows profile information when logged in. <br><br>Shows login form when logged out. </td><td>Yes</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FuuF8Zq5hQCNJYVwk5K5g%2Fimage.png?alt=media&amp;token=06f8e699-6a34-45d2-aabc-5b22e6965729" alt="" data-size="original"></td></tr><tr><td></td><td>No</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FDtMqHEjHPQfPFles1MML%2Fimage.png?alt=media&amp;token=7ab489f6-5475-4bc8-a4fa-75449ae60943" alt="" data-size="original"></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>Enable Sidebar Search Widget</strong></td><td>Yes</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F3cXMLCdZ3jrKOyvo8My9%2Fimage.png?alt=media&amp;token=d8fe22ce-3345-4ae7-a9cb-98bd4fb933e6" alt="" data-size="original"></td></tr><tr><td></td><td>No</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FmmczpatS61RrsqYVFE9C%2Fimage.png?alt=media&amp;token=e9a1a430-0080-487d-a47c-4ed6b0d36b59" alt="" data-size="original"></td></tr></tbody></table>

### Setting the sidebar options

1. Open FlightDeck extension (control panel)
2. Configure sidebar options as desired
3. Submit

***

### Adding custom content

1. Open FlightDeck extension (control panel)
2. Scroll to bottom
3. Enter custom content in **Left Sidebar Custom Content** or **Right Sidebar Custom Content**
4. Submit

The sidebars support HTML and special characters. See examples in section below.

The sidebars don't support template events, IF statements, JavaScript, PHP etc. These need to be added to the template files manually (`sidebar_left.html` and `sidebar_right.html`).

***

### Custom content code examples

These can be entered through the FlightDeck extension (see steps above)

<table><thead><tr><th width="188">Sidebar content</th><th>Preview</th><th>Code</th></tr></thead><tbody><tr><td>125 x 125 Grid</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FCiAYpbTzJkzGnEYKcsnM%2Fimage.png?alt=media&amp;token=3826f1f7-c84e-4e22-b002-59330176b9f0" alt="" data-size="original"></td><td><p></p><pre><code>&#x3C;div class="sidebar_widget ad_grid fancy_panel">
    &#x3C;div class="fancy_panel_padding">
        &#x3C;h3>Our Friends&#x3C;/h3>
        &#x3C;div class="sidebar_content">
            &#x3C;a href="#">&#x3C;img src="http://i66.tinypic.com/14xgt5l.jpg" />&#x3C;/a>
            &#x3C;a href="#">&#x3C;img src="http://i66.tinypic.com/14xgt5l.jpg" />&#x3C;/a>
            &#x3C;a href="#">&#x3C;img src="http://i66.tinypic.com/14xgt5l.jpg" />&#x3C;/a>
            &#x3C;a href="#">&#x3C;img src="http://i66.tinypic.com/14xgt5l.jpg" />&#x3C;/a>
        &#x3C;/div>
    &#x3C;/div>
&#x3C;/div>
</code></pre></td></tr><tr><td>Content block (matches accent colour)</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FTAmXgpTQD5jXb07iNnZo%2Fimage.png?alt=media&amp;token=d6d8783e-4aad-4ae1-808f-dc2eed9c24e1" alt="" data-size="original"></td><td><p></p><pre><code>&#x3C;div class="sidebar_widget sidebar_box forabg">
    &#x3C;div class="inner">
    &#x3C;ul class="topiclist">
        &#x3C;li class="header">
            &#x3C;dl class="row-item">
                &#x3C;dt>Blank Widget (Inherits Cat. Style)&#x3C;/dt>
            &#x3C;/dl>
        &#x3C;/li>
    &#x3C;/ul>
        &#x3C;div class="collapse-trigger open">
            &#x3C;span class="icon fa-minus tooltip-left" title="Collapse">&#x3C;/span>
            &#x3C;span class="icon fa-plus tooltip-left" title="Expand">&#x3C;/span>
        &#x3C;/div>
    &#x3C;ul class="topiclist forums">
		&#x3C;li class="row">
        	Some information goes here! :)
        &#x3C;/li>
    &#x3C;/ul>
    &#x3C;/div>
&#x3C;/div>
</code></pre></td></tr><tr><td>Content block (dark header)</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F9qe1qAp4T0D1gA01LZ4Q%2Fimage.png?alt=media&amp;token=4293d44f-f4da-4227-9eb7-2190fee5b932" alt="" data-size="original"></td><td><p></p><pre><code>&#x3C;div class="sidebar_widget alt_block forabg">
    &#x3C;div class="inner">
    &#x3C;ul class="topiclist">
        &#x3C;li class="header">
            &#x3C;dl class="row-item">
                &#x3C;dt>Blank Widget (Alt Block)&#x3C;/dt>
            &#x3C;/dl>
        &#x3C;/li>
    &#x3C;/ul>
        &#x3C;div class="collapse-trigger open">
            &#x3C;span class="icon fa-minus tooltip-left" title="Collapse">&#x3C;/span>
            &#x3C;span class="icon fa-plus tooltip-left" title="Expand">&#x3C;/span>
        &#x3C;/div>
    &#x3C;ul class="topiclist forums">
		&#x3C;li class="row">
        	Some information goes here! :)
        &#x3C;/li>
    &#x3C;/ul>
    &#x3C;/div>
&#x3C;/div>
</code></pre></td></tr><tr><td>Content block (stripe)</td><td><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2F8nWFOLZIyltN4MwUHDXx%2Fimage.png?alt=media&amp;token=e023d9b4-6680-4c8b-a55e-7d12ca6bb2f4" alt="" data-size="original"></td><td><p></p><pre><code>&#x3C;div class="sidebar_widget fancy_panel forabg">
    &#x3C;div class="fancy_panel_padding">
    &#x3C;h3>Blank Widget (Fancy Panel)&#x3C;/h3>
    &#x3C;div class="collapse-trigger open">
        &#x3C;span class="icon fa-minus tooltip-left" title="Collapse">&#x3C;/span>
        &#x3C;span class="icon fa-plus tooltip-left" title="Expand">&#x3C;/span>
    &#x3C;/div>
    &#x3C;div class="sidebar_content">
        &#x3C;p>Some things go here :)&#x3C;/p>&#x3C;/div>
    &#x3C;/div>
&#x3C;/div>
</code></pre></td></tr><tr><td>Everything else</td><td></td><td>e762f78ed16248d2b16038599dea663d-ae7ca0f1c02d45f0aef1b17d6a6b23df</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th></th></tr></thead><tbody><tr><td><pre><code>
&#x3C;div class="sidebar_widget">
    Your code here
&#x3C;/div>

</code></pre></td></tr></tbody></table>

### Adjusting sidebar widths

Due to complexities within the Merlin framework (which powers Milk), it is not recommended to adjust the sidebar widths

***

### Responsive layout information

* The left sidebar will only show on viewports 1200px or wider&#x20;
* On viewports below 990px, the right sidebar will collapse and show below the main forum content


# Milk: Social footer options

Milk's social bar can be used for displaying links to social pages or other websites related to your community.&#x20;

### Social bar options

| Option name                  | Value | Output                                                                                                                                                                                                                                                    |
| ---------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Hide Social Bar (footer)** | Yes   | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FZJtRtU0D2UZp8Yg8yZR6%2Fimage.png?alt=media&amp;token=5d58295b-4af0-4618-8fc4-9c37ef435565" alt="" data-size="original"> |
|                              | No    | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FGRcDmmjJD5EZp1xc77qo%2Fimage.png?alt=media&amp;token=700e2e0c-b4c4-42b5-9776-ff56c31d8190" alt="" data-size="original"> |

### Enabling the social bar

1. Open the FlightDeck extension (control panel)
2. Find "Hide Social Bar (footer)"
3. Set as required
4. Submit

***

### Adding or modifying links

1. Open the FlightDeck extension (control panel)
2. Scroll to the bottom
3. Following the link format, paste your links into the **Social Footer Code** section
4. Submit

Link format:

```
<a href="http://www.facebook.com"><span class="fa fa-facebook"></span></a>
```

The icon image is served by FontAwesome. In this case fa-facebook represents the facebook icon. You can find a full list of supported icons here: [FontAwesome 4.7 Icons](https://fontawesome.com/v4/icons/).

Click an icon to find the fa- name, which can be used to replace fa-facebook above.&#x20;


# Milk: Post profile side

Milk allows you to choose which side post profiles (username, avatar, post count etc) appear on. This also applies to private messages.

### Post profile side

| Value | Output                                                                                                                                                                                                                                                    |
| ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Right | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FOVK0DHQEAf72OOjGl2kw%2Fimage.png?alt=media&amp;token=eb88cc9c-10d4-4efe-acb4-65643e582d45" alt="" data-size="original"> |
| Left  | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FRYvePyLjoH2PpVh5sLkB%2Fimage.png?alt=media&amp;token=5e97efd6-7cf4-47ef-adc3-ca78f761c360" alt="" data-size="original"> |

### Setting the post profile side

1. Open the FlightDeck extension (control panel)
2. Find "Postprofile side"
3. Set as required
4. Submit


# Milk: Collapsible panels

Collapsible panels allow your users to hide sections they view infrequently. Preferences are stored using HTML5 local storage, and therefore will be remembered between sessions.&#x20;

If enabled, collapsible panels will be available for the following containers:

* Categories
* Index page "Information" panel
* Viewforum "Information" panel
* Viewtopic "Information" panel
* Some sidebar panels if the example code has been used

### Collapsible panels

| Value | Output        |
| ----- | ------------- |
| Yes   | missing image |
| No    | missing image |

***

### Enabling collapsible panels

1. Open the FlightDeck extension (control panel)
2. Find "Enable collapsible panels"
3. Set as required
4. Submit


# Milk: Scroll to top

The scroll to top button is an accessibility feature which, when clicked, will scroll to the top of the page.

It will appear if the user is able to scroll 100px beyond the top of the page.

<div align="left"><img src="https://web.archive.org/web/20230326174037im_/https://d33v4339jhl8k0.cloudfront.net/docs/assets/5e36e5442c7d3a7e9ae71c84/images/5e9cf0982c7d3a7e9aeb3957/file-w44Evvwx7R.png" alt=""></div>

***

### Enabling scroll to top button

1. Open the FlightDeck extension (control panel)
2. Find "Enable scroll to top button"
3. Set as required
4. Submit


# Milk: Rounded corner options

Enabling rounded corners will smooth the edges of the following elements:

* White content wrapper
* Categories
* Grid tiles
* Buttons, inputs and other form elements
* Post containers
* Rules box
* Code and quote boxes

### Rounded corners

| Value | Output                                                                                                                                                                                                                                                    |
| ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Yes   | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FHHzcJTxju08Vq7zfjmVt%2Fimage.png?alt=media&amp;token=2734c189-c956-4396-9dc0-b6d372084c2d" alt="" data-size="original"> |
| No    | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FJ4yI67JRfmV2Rudq7vo3%2Fimage.png?alt=media&amp;token=d533b396-b28e-4589-8661-655fb560b813" alt="" data-size="original"> |

### Enabling rounded corners

1. Open the FlightDeck extension (control panel)
2. Find "Enable rounded corners"
3. Set as required
4. Submit

***

### Adjusting corner radius

The corner radii are defined in: `yourforum.com/Milk_v2/theme/rounded.css`

See: [How to edit code files](/getting-started/how-to-edit-code-files)


# Milk: Forum icon options

Milk uses FontAwesome CSS icons to differentiate between read / unread states. This allows faster loading times and lossless quality on all devices.&#x20;

It is possible to use your own images as forum icons.

| Option name | Value                                                                                                                                                                                                                                                     |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Circle      | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FWh92ulZOmLxN1TeTM0UB%2Fimage.png?alt=media&amp;token=554a1317-0465-4684-8f87-71199c1cd973" alt="" data-size="original"> |
| Square      | <img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FDyLbGeGsDZIN0cPxcDL8%2Fimage.png?alt=media&amp;token=386d4f75-16d5-4cc4-a114-279fff15c7fe" alt="" data-size="original"> |

### Switching icon shape

1. Open the FlightDeck extension (control panel)
2. Find "CSS icon shape"
3. Set as required
4. Submit

***

### Changing icon image

The icon values are defined in: yourforum.com/Milk\_v2/theme/icons\_forums\_topics.css

```
/* Set the icons */            				 /* Megaphone */
.global_read:before							{content: "f0a1";}
.global_read_mine:before					{content: "f0a1";}
.global_read_locked:before					{content: "f0a1";}
.global_read_locked_mine:before				{content: "f0a1";}
.global_unread:before						{content: "f0a1";}
.global_unread_mine:before					{content: "f0a1";}
.global_unread_locked:before				{content: "f0a1";}
.global_unread_locked_mine:before			{content: "f0a1";}


											/* Megaphone */
.announce_read:before						{content: "f0a1";}
.announce_read_mine:before					{content: "f0a1";}
.announce_read_locked:before				{content: "f0a1";}
.announce_read_locked_mine:before			{content: "f0a1";}
.announce_unread:before						{content: "f0a1";}
.announce_unread_mine:before				{content: "f0a1";}
.announce_unread_locked:before				{content: "f0a1";}
.announce_unread_locked_mine:before			{content: "f0a1";}


											/* External link */
.forum_link:before							{content: "f08e";}


											/* Speech Bubble */
.forum_read:before							{content: "f068";}
.forum_read_subforum:before					{content: "f068";}


											/* Check */
.forum_unread:before						{content: "f00c";}
.forum_unread_subforum:before				{content: "f00c";}


											/* Pin */
.sticky_read:before							{content: "f08d";}
.sticky_read_mine:before					{content: "f08d";}
.sticky_read_locked:before					{content: "f08d";}
.sticky_read_locked_mine:before				{content: "f08d";}


.sticky_unread:before						{content: "f08d";}
.sticky_unread_mine:before					{content: "f08d";}
.sticky_unread_locked:before				{content: "f08d";}
.sticky_unread_locked_mine:before			{content: "f08d";}


											/* Right arrow */
.topic_moved:before							{content: "f061";}


											/* Envelope */
.pm_read:before 							{content: "f0e0";}
.pm_unread:before 							{content: "f0e0";}


											/* Bar */
.topic_read:before							{content: "f068";}
.topic_read_mine:before						{content: "f068";}
.topic_read_hot:before						{content: "f068";}
.topic_read_hot_mine:before					{content: "f068";}
											/* Tick */
.topic_unread:before						{content: "f00c";}
.topic_unread_mine:before					{content: "f00c";}
.topic_unread_hot:before					{content: "f00c";}
.topic_unread_hot_mine:before				{content: "f00c";}


											/* Cross */
.forum_read_locked:before					{content: "f00d";}
.forum_unread_locked:before					{content: "f00d";}
.topic_read_locked:before					{content: "f00d";}
.topic_read_locked_mine:before				{content: "f00d";}
.topic_unread_locked:before					{content: "f00d";}
.topic_unread_locked_mine:before			{content: "f00d";}
```

Milk uses [FontAwesome 4.7 icons](https://fontawesome.com/v4/icons/) to represent read / unread states. After finding the new icon you want to use, open its page on the FontAwesome website where you'll be able to grab the **unicode** value.&#x20;

Replace the unicode value above as necessary.&#x20;

See: [How to edit code files](/getting-started/how-to-edit-code-files)

***

### Disabling the pulse animation

The pulsing animation is defined in:  `yourforum.com/Milk_v2/theme/icons_forums_topics.css`

```
/* Box shadow for unread pulse icons */
@keyframes UnreadPulse {
    0% {
      -moz-box-shadow: 0 0 0 0 rgba(132,189,0,0.4);
      box-shadow: 0 0 0 0 rgba(132,189,0,0.4);
      -webkit-box-shadow: 0 0 0 0 rgba(132,189,0,0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 8px rgba(132,189,0,0);
        box-shadow: 0 0 0 8px rgba(132,189,0, 0);
        -webkit-box-shadow: 0 0 0 8px rgba(132,189,0,0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(132,189,0,0);
        box-shadow: 0 0 0 0 rgba(132,189,0,0);
        -webkit-box-shadow: 0 0 0 0 rgba(132,189,0,0);
    }
}

/* Box shadow for unread pulse icons */
@keyframes UnreadLockedPulse {
    0% {
      -moz-box-shadow: 0 0 0 0 rgba(189,0,0,0.4);
      box-shadow: 0 0 0 0 rgba(189,0,0,0.4);
-webkit-box-shadow: 0 0 0 0 rgba(189,0,0,0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 8px rgba(189,0,0,0);
        box-shadow: 0 0 0 8px rgba(189,0,0, 0);
        -webkit-box-shadow: 0 0 0 8px rgba(189,0,0,0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(189,0,0,0);
        box-shadow: 0 0 0 0 rgba(189,0,0,0);
        -webkit-box-shadow: 0 0 0 0 rgba(189,0,0,0);
    }
}
```

You can delete this code to disable the animation.


# Milk: Global \<head> code

Experienced users can add code to the document \<head> tag through FlightDeck.&#x20;

{% hint style="danger" %}
**Warning:** Bad things can happen if you accidentally enter unsafe code here. Please contact us if you're unsure about this feature.&#x20;
{% endhint %}

### Adding global \<head> code

1. Open the FlightDeck extension (control panel)
2. Scroll down to **Global \<head> code**
3. Enter your code
4. Submit

***

### Output location

The output variable is located directly before the document's `</head>` tag.&#x20;


# Group Post Highlight

Let members of chosen groups highlight their own posts with their group's colour.

<figure><img src="https://1973628527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTA7pvCEDX33HvSpe5svL%2Fuploads%2FmekBq27wTPwMo7aGKaLb%2Fhighlighted%20post.png?alt=media&amp;token=594129dd-52ec-4e68-8b65-f8c1a78635aa" alt=""><figcaption></figcaption></figure>

Group Post Highlight lets you define reusable **highlight styles** (border, background, text colour, drop shadow and an optional badge) and assign one to a group. Members of that group can then opt in to highlighting their own posts with it, using a toggle on the reply and edit forms.

{% hint style="info" %}
Requires phpBB 3.3.x and PHP 7.1+.
{% endhint %}

### How it works

1. **Create a highlight style** in ACP under **Extensions → Group Post Highlight → Highlight Styles**: pick colours, border, shadow and an optional badge, previewed live as you build it.
2. **Assign the style to a group** in ACP under **Users & Groups → Groups**, and choose whether it's on by default for new posts.
3. **Members opt in per post** using the checkbox on the reply/edit form and quick reply. Only members whose *default* group has a style assigned see the toggle at all.

A post's appearance is never "baked in"; it's resolved live from the poster's current default group every time the post is rendered, the same way phpBB already resolves username colour. Only the opt-in choice itself is stored per post, so editing a style in ACP instantly updates every past post using it.

### In this section

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-palette" style="color:$primary;">:palette:</i></h3></td><td><strong>Creating &#x26; managing highlight styles</strong></td><td>Build a style's border, background, shadow and badge in the visual editor.</td><td></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><strong>Assigning a style to a group</strong></td><td>Give a group its highlight style and decide whether it's on by default.</td><td></td></tr><tr><td><h3><i class="fa-toggle-on" style="color:$primary;">:toggle-on:</i></h3></td><td><strong>The member highlight toggle</strong></td><td>How the opt-in checkbox behaves on new posts, replies and edits.</td><td></td></tr><tr><td><h3><i class="fa-code" style="color:$primary;">:code:</i></h3></td><td><strong>Custom &#x26; per-theme CSS</strong></td><td>Fine-tune a style's CSS globally or for one installed frontend style only.</td><td></td></tr></tbody></table>


# Creating & Managing Highlight Styles

Highlight styles are managed in ACP under **Extensions → Group Post Highlight → Highlight Styles**. A style isn't tied to any post directly; it's a reusable definition that gets assigned to one or more groups (see Assigning a style to a group). Editing a style updates every group, and every post, using it immediately.

### The style list

Each row shows a live swatch preview, the style's name, how many groups currently use it, and actions:

| Action        | What it does                                                                                           |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| **Edit**      | Open the visual editor for that style.                                                                 |
| **Duplicate** | Create a copy named "*Style name* (copy)", then jump straight to editing it.                           |
| **Delete**    | Remove the style. Blocked while any group still has it assigned; reassign or clear those groups first. |

### The visual editor

The editor is split into three parts: a live preview, the visual style fields, and custom CSS.

{% hint style="info" %}
Every colour field is optional. Leave a swatch blank to skip that part of the style entirely; for example, no border colour means no border is drawn, rather than falling back to a default colour.
{% endhint %}

#### Border, background & text

| Field                                | Notes                                                                                                                                                                     |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Border colour / opacity              | Blank = no border.                                                                                                                                                        |
| Border width (top/right/bottom/left) | Set independently per edge, 0–50px.                                                                                                                                       |
| Background colour / opacity          | Blank = theme's default post background shows through.                                                                                                                    |
| Text colour                          | Blank = the theme's normal post text colour. Unlike border/background this has no separate opacity slider; it's either the picked colour at full strength, or left alone. |

#### Shadow

Border, background and shadow colours are each built from a hex colour plus a separate 0–100% opacity slider, rather than an alpha channel baked into the hex value.

| Field                   | Notes                                                          |
| ----------------------- | -------------------------------------------------------------- |
| Shadow colour / opacity | Blank = no shadow.                                             |
| Offset X / Y            | Horizontal / vertical shadow position, -50 to 50px.            |
| Blur / Spread           | 0–50px blur, -50 to 50px spread.                               |
| Inset                   | Draws the shadow inside the post border instead of outside it. |

#### Badge

A small pill shown under the post title.

| Field                  | Notes                                                                                                                                                                                                |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Show badge             | Master toggle for the badge.                                                                                                                                                                         |
| Badge label            | Free text, up to 40 characters (e.g. "Admin", "Moderator", "Community Helper"). **Left blank, no badge is shown even with the toggle on** (this is re-checked at render time, not just when saving). |
| Badge colour / opacity | Background colour of the pill.                                                                                                                                                                       |
| Show icon              | Adds an icon before the label.                                                                                                                                                                       |
| Icon                   | Searchable picker of icons; type to filter by name.                                                                                                                                                  |

{% hint style="warning" %}
**The badge only renders in the topic view (viewtopic), not on search results.** A highlighted post's border/background still shows correctly everywhere it's opted in, including search results and "Search user's posts", but prosilver's search results template has no template event positioned where the badge needs to render, so it's left off there rather than placed somewhere visually wrong. See Custom & per-theme CSS for the exact wrapper markup this depends on.
{% endhint %}

The preview panel at the top of the page updates live as you edit any of these fields, so you can see the result before saving.

### Custom CSS

Below the visual editor is a **Global CSS** box for admin-authored CSS layered on top of the generated style. See Custom & per-theme CSS for the selectors to use and how per-theme overrides work.


# Assigning a Style to a Group

A highlight style is assigned per group, in ACP under **Users & Groups → Groups → (add/edit a group)**. Two fields appear on the group form, added by this extension:

| Field                    | What it does                                                                                                                                                        |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Post highlight style** | Which style (if any) this group's members may use. Set to "None" to disable highlighting for the group.                                                             |
| **Highlight by default** | If enabled, the highlight toggle is pre-checked whenever a member of this group starts a new post or reply. Members can still switch it off for that specific post. |

{% hint style="warning" %}
**Highlighting is tied strictly to a member's&#x20;*****default*****&#x20;group**: the same group phpBB already uses to colour their username everywhere else on the board. If a member belongs to several groups, only their default group's style applies; being in some other group that has a style assigned has no effect unless that group is also their default. This keeps a highlighted post's appearance consistent with how the member is already presenting themselves board-wide.
{% endhint %}

If a member's default group has no style assigned, they won't see the highlight toggle at all when posting or replying; there's no separate permission to grant, group membership is the only gate. See The member highlight toggle.

### Changing a group's style later

Because a post's highlight is resolved live from the poster's current default group every time it's rendered (never stored as a snapshot), reassigning a group to a different style (or to "None") immediately changes how every opted-in post from that group's members looks, without touching a single post.


# The Member Highlight Toggle

Members whose default group has a highlight style assigned see an extra checkbox, **"Highlight this post with my group colour"**, on:

* The full posting form (new topic, reply, quote, edit)
* Quick reply

Members whose default group has no style assigned don't see the checkbox anywhere; there's nothing to opt into.

### What gets checked by default

| Situation                                              | Toggle state                                                                      |
| ------------------------------------------------------ | --------------------------------------------------------------------------------- |
| New topic / reply / quick reply                        | Follows the group's **Highlight by default** setting.                             |
| Editing an existing post                               | Reflects whatever that post's highlight state already was, not the group default. |
| Form re-submitted (preview, refresh, validation error) | Reflects whatever the member last checked.                                        |

{% hint style="info" %}
Editing a post never silently turns highlighting on just because the group default happens to be on; only a post that was already highlighted keeps that state when edited, and the member can still change it either way from the edit form.
{% endhint %}

{% hint style="warning" %}
**The "Preview" panel on the posting form never shows the highlight itself**, even when the toggle is checked; it renders as a plain, unstyled post mockup regardless. This is the toggle's checked/unchecked state persisting correctly (see the table above), just with nothing visual reflecting it yet. The gap is the same root cause as the search results badge (see Creating & managing highlight styles): phpBB's `posting_preview.html` has no template event positioned before the preview post's wrapper element, so the extension has nowhere to inject the highlight markup for that one panel. The actual post renders highlighted correctly once submitted; only its live preview mockup doesn't.
{% endhint %}

### What's actually stored

Only the opt-in choice itself (one bit, per post) is saved. The style that choice resolves to is never stored on the post; it's looked up fresh from the poster's current default group every time the post is displayed. A post only renders highlighted when both of these are true at that moment:

1. The post's own opt-in flag is set.
2. The poster's current default group has a highlight style assigned.

If a member's default group changes (or loses its style) after they posted, their older opted-in posts stop rendering highlighted, even though the post's own opt-in flag is untouched, because the second condition above is no longer met. See Assigning a style to a group.


# Custom & Per-theme CSS

Every highlighted post is wrapped in:

```html
<div class="posthighlight-wrap" data-posthighlight-style-id="{ID}">
  <!-- the post -->
</div>
```

The wrapper itself carries no styling; every visual property comes from CSS this extension builds from a style's saved fields and injects into every page. The badge (if enabled) renders as `<span class="posthighlight-badge">` inside the post.

### Global custom CSS

Each style's edit page has a **Global CSS** box (below the visual editor, see Creating & managing highlight styles). Anything you write there is appended straight after that style's generated rule and applies on every installed frontend style, board-wide. It doesn't replace the visual editor's settings; it just wins the normal CSS cascade for whatever properties it overrides at equal specificity.

Scope your rules with:

```css
/* This highlight style only (use its numeric ID, shown in the style list) */
.posthighlight-wrap[data-posthighlight-style-id="4"] > .post { }

/* Every highlighted post, regardless of style */
.posthighlight-wrap > .post { }

/* The badge on this style only */
.posthighlight-wrap[data-posthighlight-style-id="4"] .posthighlight-badge { }
```

### Per-theme overrides

To style a highlight differently on one specific installed frontend style (a dark theme that needs different colours, for example) without touching the Global CSS box:

{% stepper %}
{% step %}

#### Find the style's folder name

Under phpBB's `/styles/` directory, e.g. `prosilver`, or the folder name of a custom style you installed.
{% endstep %}

{% step %}

#### Create the override file

`ext/planetstyles/posthighlight/styles/<folder-name>/theme/posthighlight.css`
{% endstep %}

{% step %}

#### Write your rules

Same selectors as Global CSS above: `.posthighlight-wrap[data-posthighlight-style-id="…"] > .post { }` for one highlight style, or `.posthighlight-wrap > .post { }` for all of them.
{% endstep %}

{% step %}

#### Save it

No config anywhere else needed; it's picked up automatically for viewers on that specific frontend style the moment the file exists at that path.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
This file loads in `<head>` *before* the extension's generated CSS (visual editor settings + Global CSS). At equal selector specificity, the later, generated rule wins, so a per-theme override may need a more specific selector, or `!important`, for a property the visual editor or Global CSS also sets.
{% endhint %}


