# Login Page Customization

**URL:** <https://forum.xwiki.org/t/login-page-customization/315>\
**Category:** Help / Discuss\
**Created:** [July 13, 2017, 10:18pm UTC](https://forum.xwiki.org/t/login-page-customization/315 "2017-07-13T22:18:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@kyle](https://forum.xwiki.org/u/kyle)\
**Post date:** [July 13, 2017, 10:18pm UTC](https://forum.xwiki.org/t/login-page-customization/315/1 "2017-07-13T22:18:38Z")

</div>

Hello X-Wiki Users,

I have a hopefully simply configuration question:

What would be the easiest way to add CSS/LESS Customizations to just the login page without breaking anything?  
I want to add the following code at the top and bottom of the Login Window to make a big red classification banner

// CLASSIFIED // CLASSIFIED // CLASSIFIED //
.classificationbanner { .box-sizing(content-box); border: none; font: normal 20px/1 "Trebuchet MS", Helvetica, sans-serif; color: white; text-align: center; -o-text-overflow: ellipsis; text-overflow: ellipsis; background: rgba(255,0,0,1); }

I picture it looking something like this:  
 ![](https://discourse.xwiki.org/uploads/default/original/1X/555ff3abae538c519b4c0bc5e77fa5e59045920a.png)

Would I add an Overriding template or go under advanced under the color theme?

Any help would be appreciated.

Thanks,  
Kyle

---

<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:** [July 14, 2017, 6:04am UTC](https://forum.xwiki.org/t/login-page-customization/315/2 "2017-07-14T06:04:16Z")

</div>

If you want to add CSS, you can use a StyleSkinExtension (SSX) object, the FlamingoTheme ‘advanced’ section, custom Skin, etc. There are multiple ways depending on how big the changes are.

Same for HTML structure. Not sure what this .classificationbanner would contain in terms of text. If it’s simple text you can use the ‘content’ from CSS, or you need to add the structure with JavaScript (JSX object or other ways) or by overriding a template.

If you are doing many upgrades and stick to the current version, than try not to overwrite default pages/templates. You can simply achieve what you want with an SSX and a JSX, that has the visibility “on this wiki”.

---

<div class="post-metadata">

**Author:** ![urs19work](https://forum.xwiki.org/user_avatar/forum.xwiki.org/urs19work/32/3076_2.png) [@urs19work](https://forum.xwiki.org/u/urs19work)\
**Post date:** [November 25, 2020, 10:10am UTC](https://forum.xwiki.org/t/login-page-customization/315/3 "2020-11-25T10:10:33Z")

</div>

I have a similar question. Please tell me how to add text to the login page. Let’s say I want non-registered users to know who they will turn to to register.
