Close

Account

Documentation

Forum

Menu

Overwrite CSS

  • Post count: 4
    IwaDe
    June 12, 2016 at 10:52 am #20670

    I am wondering why i always have to use !important declaration to overwrite i.e. main.css in /public/css. The styles.css in my child theme should come after all other css files and overwrite them. There should be no use of using !important declaration. That is not very handy. Any idea how to make this workflow better?

    Cheers
    Stephen

    Post count: 5927
    Adek
    June 12, 2016 at 10:36 pm #20672

    Hi Stephen,

    It will depend on which element that you want to override their style. Can you help me to tell which element that you want to override their style without using !important?

    Thank you

    Post count: 4
    IwaDe
    June 13, 2016 at 7:54 am #20683

    These are many different ones. I paste in just some of them:

    Post count: 5927
    Adek
    June 15, 2016 at 1:43 am #20706

    Hi Stephen,

    It seems you don’t need to use !important for several your css code in there. Can you help me to provide me the url of your site in there, i will check it further on my side.

    Thank you

You must be logged in to reply to this topic.