Browse Source

added notes on CSS for custom login background image

master
Adam Piontek 5 months ago
parent
commit
93974f105d
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      README.md

+ 13
- 0
README.md View File

@@ -22,6 +22,19 @@ To allow the modified theme to use an external CSS file for easier modifications

Set the `file://[path]` to a path where you want to store the new, external css file.

### CSS for custom login background

Assuming all you want to do is add your custom background, look for the `#lockDialogGroup` selector (there might be two, make sure you comment out any existing background image setting for that selector) and set a local file resource with this CSS:

```css
#lockDialogGroup {
background: url(file:///etc/gdm3/custom73k/bgfile);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
```

## Compile new gresource file

Command to compile the new gresource from these extracted contents + xml file:


Loading…
Cancel
Save