Okay
  Public Ticket #412718
child theme style.css being overwritten
Closed

Comments

  • Christopher started the conversation

    Question: Can I not just put all custom css in the child theme style.css file instead of the Salient > General Settings > Custom CSS Code box? It is quicker if I can develop that way, but for some reason my changes that I include in the external child theme css file are being overwritten by the theme itself.

    Is there something I have to do to make it take top priority? The child theme functions.php file is empty currently.

    See screenshot, the third style is the one I want to be dominant:

    #footer-outer #copyright {
    background-color: #fff!important;
    border-top: 0 !important;
    }

  •  8,849
    Tahir replied

    Hey,

    See screenshot: .


    Be sure to put the css after the import statement.

    Thanks


    ThemeNectar Support Team 

  • [deleted] replied

    I can confirm that this is an issue.

    I was able to resolve the issue by placing the css toward the top of the style.css file (before the style modifications for my other plugins). I have no idea why this happens this way but it had me absolutely stumped for some time trying to figure it out.

    See Screenshot: