Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi
    Thanks for contacting to us.
    We have little confusion regarding your query.
    Pls clear us, so that we can assist you better.

    Thanks
    Akhilesh

    Thread Starter alexf812

    (@alexf812)

    I’m using the dark theme.

    Some of the !important rules:

    .widget.widget_text a -> !important
    a -> !important

    input fields within contact form -> !important

    Why is this necessary? It makes tweaking the styles so much more difficult.

    Hi
    The !important rule in CSS is used to add more importance to a property/value than normal.
    In fact, if you use the !important rule, it will override ALL previous styling rules for that specific property on that element!
    If you want to add your style you can also use the ! important for style value and add css code inside the customzier >> additional css box .

    Let me know for any confusion.
    Thanks

    Thread Starter alexf812

    (@alexf812)

    HI,

    i know what the important rule is. But good css don’t need so much like in this theme. I wrote, that i must use the important rule but this is not my understanding of writing good css. It is hard enough that the dark theme is a child, because i can’t create a child from a child but this css makes it even harder. Ok, it is a free theme but there could be more room for adjustments and not overwiting all the important with my own important rules.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why is the CSS full of importants?’ is closed to new replies.