New Landing How can we help? Cardinal Child theme changes not appearing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Cardinal
  • #97080
    Adrenaline22
    Member
    Post count: 183

    Hi guys,

    I want to make some minor changes in the blog details (blog-item-details, I want just to remove ‘in’, and ‘by’ etc.) located in cardinal/swift-framework/content/sf-post-formats.php

    These are the exact steps to reproduce my problem:

    – created folder ‘child-theme’
    – created style css and @import the style CSS from parent folder
    – copied the modified sf-post-formats.php in to child-theme/swift-framework/content/

    After refreshing nothing happens 🙁

    Any idea what I’m doing wrong?

    #97275
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid it doesn’t work like that, child themes can only override files in the root folder of the main theme, things like header.php, footer.php etc.

    What you would need to do it copy the whole function, from line 283:

    /* GET POST ITEM
    	================================================== */ 
    	if (!function_exists('sf_get_post_item')) {

    And paste in your child themes functions.php file

    – Kyle

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register