WordPress.org

Forums

StairWay
[resolved] Custom CSS (5 posts)

  1. schybli
    Member
    Posted 1 year ago #

    Hello,

    very nice theme, I yust want to inform you that the changes in the custom css will not be applied only when i put a "!important".

    child theme is working fine...

    Thank you very much

  2. Tomas Toman
    Member
    Theme Author

    Posted 1 year ago #

    Hello,

    please try to add the "#wrapper" identificator before your Custom CSS code to ensure that it overwrites the default CSS defined in style.css file. If this does not solve your problem, please post here your Custom CSS code so I can check it.

    Best regards
    Tomas Toman

  3. schybli
    Member
    Posted 1 year ago #

    Hello,
    I'm sorry I forgot to answer, actually I've done so.

    Please see the css code:

    #wrapper #wrapper-header .header-image {
    height: 350px;
    }

    Thanks and regards,
    schybli

  4. Tomas Toman
    Member
    Theme Author

    Posted 1 year ago #

    Hello,

    because the "#wrapper #wrapper-header .header-image" definition is the same as the default CSS in the style.css, your code is not working. Please try to prefix the code with the "html" markup so it rewrites the default CSS:

    html #wrapper #wrapper-header .header-image {
     height: 350px;
    }

    The another way is to use the "!important" markup for your custom CSS - it should overwrite the default CSS in all cases.

    Best regards
    Tomas Toman

  5. schybli
    Member
    Posted 1 year ago #

    Hi Tomas
    Yes it works with the "html", with other "custom css" which I use this was not necessary.
    Thanks for your help
    Best regards
    Schybli

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags