Support » Theme: Koji » Stylesheet handling with Child-Theme

  • Resolved Drivingralle



    Because of my use of Hashtags in my post titles in need to overwrite some parts of the theme with a child theme.
    That’s perfectly fine.

    After the 1.09 update my site was suddently without styles. Becuase the theme loads the stylesheet for the stylesheet_uri.
    I suggest to load the style.css fiel via tempalte_uri. This way my empty styles.css fiel from child theme doesn’t get loaded, because it’s not needed, I just want to overwrite a php tempalte.


    Nice to have:
    Would like to see a cache busting for the theme styles that is bind to the theme version not the to WP Version.


    What do you think?


    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén


    Hi @drivingralle,

    Thanks for two good suggestions! I’ve implemented both in version 1.11 of Koji, which was just submitted and should be live within the hour.

    — Anders


    Great news!

    Have installed the update and fixed my child theme to work along.

    I noticed two tiny things:

    The icon font still uses the WP version in it’s url.

    While using a child theme the styles of the parent theme, now get’s cache busted as the chil theme is updated. This ways your updates to the parent theme would not make it to the end users browser.
    If you add ‘koji’ to the get_theme() function you get the right theme details.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stylesheet handling with Child-Theme’ is closed to new replies.