WordPress.org

Support

Support » Themes and Templates » Child-CSS will not be included

Child-CSS will not be included

  • Heiko Mamerow
    Participant

    @heiko_mamerow

    Hi,

    the style.css from my amdhas-child-theme will not be included. Instead there is only the parent-style in header…

    I found out, that for the link the get_template_directory_uri() is using, rather than get_stylesheet_directory_uri().

    Workaround
    Go to
    amdhas/includes/amdhas-settings.php
    and replace
    get_template_directory_uri()
    with:
    get_stylesheet_directory_uri()

    Note: This Workaround fails, if you update the parent. In this case you have to replace the above again.

Viewing 1 replies (of 1 total)
  • Heiko Mamerow
    Participant

    @heiko_mamerow

    Me again – only to make sure, you dont replace to much:
    Just replace get_template_directory_uri() who is in use for the style.css! (There are some other….)

    😉

Viewing 1 replies (of 1 total)
  • The topic ‘Child-CSS will not be included’ is closed to new replies.