unable to overwrite cateogry.php with child theme

  • bill316

    #646

    Hi there!

    I would like to remove

    <h1 class="page-title">
    <?php
    printf(__('Category Archive: <span>%s</span>', 'graphene'), single_cat_title('', false));
    ?>
    </h1>

    from category.php using my child theme. For some reason, The category.php file is not showing up when I view the theme files with the built-in editor.

    I made an exact copy of the file from the original theme and placed it in the child theme folder.

    any ideas?

    Admin

    Syahir Hakim

    #13150

    Just create an empty category.php file in your child theme folder.

    Numbers

    #13151

    I created an empty one, i tried to do it a few times and no good, although i am not a code expert.

    tommyz

    #13152

    You know, I create a new one with the modified code and it doesn’t work. A hint might be the fact that the theme editor doesn’t show category.php when the child theme is selected.

    Admin

    Syahir Hakim

    #13153

    I just tried it and it works…

    What’s your website URL so I can take a look?

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

  • You must be logged in to reply to this topic.