New Landing How can we help? Themeforest Theme Support Joyn Overriding frameworks inside Child theme ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Joyn
  • #129494
    wilhem
    Member
    Post count: 105

    Hi,

    I need to override part of the framework inside Child theme.

    Example :
    sf-header.php
    Line 93


    <?php if ($enable_tb) { ?>
    <!--// TOP BAR //-->
    <div id="top-bar">
    <?php if ($fullwidth_header) { ?>
    <div class="container fw-header">
    <?php } else { ?>
    <div class="container">
    <?php } ?>
    <div class="col-sm-6 tb-left"><?php echo $tb_left_output; ?></div>
    <div class="col-sm-6 tb-right"><?php echo $tb_right_output; ?></div>
    </div>
    </div>
    <?php } ?>

    Thank you very much in advance,
    Best regards,
    Wilhem

    #129495
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    That code is inside the function sf_header_wrap()

    You should copy the entire function and paste it in the functions.php of your child theme.

    Start copy in this line below:

    if ( ! function_exists( 'sf_header_wrap' )) {

    -Rui

    #129603
    wilhem
    Member
    Post count: 105

    Rui,

    Thanks a lot,
    Another question, i need to add some meta options on portfolio posts ; maybe a whole tabs with some fields. Can you give me some tips?

    Best,
    Wilhem

    #129608
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid we don’t support customisations of that scope sorry

    – Kyle

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 the following item
Login and Registration Log in · Register