New Landing How can we help? Themeforest Theme Support Dante Trying to overwrite sf-header.php Dante Child

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #190999
    Jackcoldrick
    Member
    Post count: 84

    Hi Guys,

    I’m using your theme “Dante” and it’s great. I am trying to modify the top bar slightly to suit my needs and I’ve run into an issue…

    I’m using Dante Child to do all of the modifications for obvious reasons. I don’t want to overwrite my work if the theme is updated. The problem I’m having is that when I try to overwrite the sf_top_bar() method located in:

    /dante-child/includes/sf-header.php

    The changes are not picked up. It seems to be using the parents sf-header.php file. I don’t know why this is happening as I’ve successfully overrided the style.css and functions.php files within Dante Child.

    Could you please provide me with some advice on this issue please.

    Thanks.

    #191032
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    How are you trying to override the sf_top_bar() function? Are you placing that within your child-theme functions file?

    Thanks,
    David.

    #191034
    Jackcoldrick
    Member
    Post count: 84

    No, that must have been where I was going wrong!!! I just copied the method into that functions.php file and it’s working fine now. Thank you for your help.

    #191036
    David Martin – Support
    Moderator
    Post count: 20834

    Great, no problem!

Viewing 4 posts - 1 through 4 (of 4 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