1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 how to change background-color at Register-page / XenForm ?

Discussion in 'Styling and Customization Questions' started by erich37, Mar 9, 2015.

  1. erich37

    erich37 Well-Known Member

    how do I change the background-color of "xenForm" at the "Register-page" without affecting any changes to the Login-Dropdown in the header ?


    I have used something like this, but it does not work:

    .xenForm .xenForm AutoValidator {
    background: #FFCC33;
    .xenForm .AutoValidator {
    background: #FFCC33;

    I have also tried applying a background-color using the "ACP > Style Properties > Forms > Control Unit"
    but it does not change the background-color of "xenForm".

    Could you please give me a hint ?

    Many thanks!
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Increase the specificity by using the template name which is register_form.
    erich37 likes this.
  3. erich37

    erich37 Well-Known Member

    that did it.

    .register_form .xenForm {
    background: #FFCC33 !important;

    Many thanks!
  4. ekim

    ekim Member

    Hello, I just figured I'd post in this one versus creating a new thread being how I 'think' it's pretty much along the same lines......

    Anyways, someone did a few changes on my site, and I need to revert them. I've attached a screenshot, and the cursor arrow/field being edited is that of the user name, and while someone's typing the whole field is almost virtually black.

    The field with the password is showing blue, UNTIL one goes to put their password in, and then it's black like as well.

    Would someone please tell me how to change it to be "White" in the backgrounds of those 2 fields, whether someone is in there typing or not?

    Thank you very much!:D

    Attached Files:

Share This Page