Support » Theme: StairWay » Custom CSS

  • Resolved schybli

    (@schybli)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author TT Themes

    (@tomastoman)

    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

    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

    Theme Author TT Themes

    (@tomastoman)

    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

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom CSS’ is closed to new replies.