# Theme edit login page

**URL:** <https://forum.xwiki.org/t/theme-edit-login-page/631>\
**Category:** Help / Discuss\
**Tags:** theme, css\
**Created:** [September 22, 2017, 12:32pm UTC](https://forum.xwiki.org/t/theme-edit-login-page/631 "2017-09-22T12:32:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Floflobel](https://forum.xwiki.org/user_avatar/forum.xwiki.org/floflobel/32/950_2.png) [@Floflobel](https://forum.xwiki.org/u/Floflobel)\
**Post date:** [September 22, 2017, 12:32pm UTC](https://forum.xwiki.org/t/theme-edit-login-page/631/1 "2017-09-22T12:32:53Z")

</div>

Hello,

I created a black theme and I need to edit the login page to change the background color and other things.

I tried to edit the theme with advanced variables in CSS but I do not affect them.  
How do I change the login page?

Best regards,

---

<div class="post-metadata">

**Author:** ![evalica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/evalica/32/4_2.png) [@evalica](https://forum.xwiki.org/u/evalica)\
**Post date:** [September 22, 2017, 12:59pm UTC](https://forum.xwiki.org/t/theme-edit-login-page/631/2 "2017-09-22T12:59:30Z")

</div>

The login is found in [login.vm](https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/login.vm) from skins/flamingo folder, on your file system.

You shouldn’t have problems skinning that form from the Theme, so make sure the changes you make are compiled, especially if they are written in LESS.

---

<div class="post-metadata">

**Author:** ![ben.megson](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@ben.megson](https://forum.xwiki.org/u/ben.megson)\
**Post date:** [September 22, 2017, 7:43pm UTC](https://forum.xwiki.org/t/theme-edit-login-page/631/3 "2017-09-22T19:43:42Z")

</div>

Floflobel,

I had the same issue (XWiki 9.5.1). I got around it by applying view rights for unregistered users on the theme page.

I’m not a developer, but I’m thinking this should probably be applied by default.

Ben

---

<div class="post-metadata">

**Author:** ![evalica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/evalica/32/4_2.png) [@evalica](https://forum.xwiki.org/u/evalica)\
**Post date:** [September 25, 2017, 10:59am UTC](https://forum.xwiki.org/t/theme-edit-login-page/631/4 "2017-09-25T10:59:13Z")

</div>

@ben.megson regarding the rights, there is an open issue at [Loading...](https://jira.xwiki.org/browse/XWIKI-14544)  
You can comment there if you think it’s important. Thanks

---

<div class="post-metadata">

**Author:** ![ben.megson](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@ben.megson](https://forum.xwiki.org/u/ben.megson)\
**Post date:** [September 25, 2017, 8:06pm UTC](https://forum.xwiki.org/t/theme-edit-login-page/631/5 "2017-09-25T20:06:45Z")

</div>

Thanks @evalica. Good to know.
