• thibom

    (@thibom)


    Hello guys !

    I’ve got a strange problem with my form. I want to apply css style on few inputs. To achieve that, every input i want to modify has in class attribute “test” value. Everything works, it’s great.

    But when i use .test in my css file, it only changes my textarea input.

    Here is my css :

    .test{
         background-color: green;
    }

    Thanks for your help ! 🙂

    https://ww.wp.xz.cn/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • LESIMOON

    (@lesimoon)

    I change the background color to every input without any problem.
    Even if I did it with and #id instead of a .class, this shouldn’t be the problem.

    Maybe your theme inputs background color are forced.
    Try with the !important setting.

    .test{
         background-color: green!important;
    }
Viewing 1 replies (of 1 total)

The topic ‘Css problem – Can't apply css on input’ is closed to new replies.